Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 102.2 kB / 16.4 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008955/0.008955, allocations: 1.932 MB / 272.5 MB, free: 10.06 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 73.5 kB / 378.9 MB, free: 51.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07768/0.07918, allocations: 47.14 MB / 426 MB, free: 19.94 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002529/0.08175, allocations: 1.962 MB / 428 MB, free: 17.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007673/0.08254, allocations: 0.5664 MB / 428.6 MB, free: 17.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.642e-05/0.08262, allocations: 3.938 kB / 428.6 MB, free: 17.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.762e-05/0.08268, allocations: 27.78 kB / 428.6 MB, free: 17.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.08281, allocations: 39.62 kB / 428.6 MB, free: 17.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.08303, allocations: 35.91 kB / 428.7 MB, free: 17.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.08318, allocations: 143.2 kB / 428.8 MB, free: 17.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.08332, allocations: 36.97 kB / 428.8 MB, free: 17.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.478e-05/0.08339, allocations: 47.8 kB / 428.9 MB, free: 17.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.0835, allocations: 51.72 kB / 428.9 MB, free: 17.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.08352, allocations: 8 kB / 429 MB, free: 17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-05/0.08359, allocations: 19.98 kB / 429 MB, free: 16.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.08361, allocations: 23.91 kB / 429 MB, free: 16.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.08367, allocations: 59.67 kB / 429.1 MB, free: 16.9 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.08383, allocations: 111.6 kB / 429.2 MB, free: 16.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.08384, allocations: 0 / 429.2 MB, free: 16.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.08385, allocations: 0 / 429.2 MB, free: 16.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.08386, allocations: 4 kB / 429.2 MB, free: 16.79 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004734/0.08434, allocations: 411 kB / 429.6 MB, free: 16.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.08438, allocations: 19.88 kB / 429.6 MB, free: 16.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.08443, allocations: 16.75 kB / 429.6 MB, free: 16.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.08458, allocations: 203.9 kB / 429.8 MB, free: 16.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.0846, allocations: 8.375 kB / 429.8 MB, free: 16.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.08462, allocations: 4.375 kB / 429.8 MB, free: 16.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.0848, allocations: 98.81 kB / 429.9 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.08481, allocations: 0 / 429.9 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.08483, allocations: 4 kB / 429.9 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.08484, allocations: 7.938 kB / 429.9 MB, free: 15.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.08497, allocations: 51.97 kB / 430 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.08544, allocations: 388.5 kB / 430.4 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.0859, allocations: 74.47 kB / 430.4 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.08596, allocations: 24.94 kB / 430.5 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.08599, allocations: 0 / 430.5 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.196e-05/0.086, allocations: 30.56 kB / 430.5 MB, free: 15.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.08601, allocations: 0 / 430.5 MB, free: 15.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002486/0.08626, allocations: 85.52 kB / 430.6 MB, free: 15.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.0863, allocations: 67.33 kB / 430.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.08642, allocations: 178.7 kB / 430.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.08643, allocations: 29.7 kB / 430.8 MB, free: 14.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.08649, allocations: 107.9 kB / 430.9 MB, free: 14.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.069e-05/0.0865, allocations: 15.83 kB / 431 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.08654, allocations: 21.62 kB / 431 MB, free: 14.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.035e-05/0.0866, allocations: 326.8 kB / 431.3 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.733e-05/0.08666, allocations: 24.84 kB / 431.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.08671, allocations: 20 kB / 431.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.08681, allocations: 44.84 kB / 431.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.08682, allocations: 0 / 431.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000139/0.08696, allocations: 93.64 kB / 431.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.08698, allocations: 4 kB / 431.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.08699, allocations: 3.938 kB / 431.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.08701, allocations: 0 / 431.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.393e-05/0.08709, allocations: 19.98 kB / 431.5 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.0871, allocations: 0 / 431.5 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.08717, allocations: 8 kB / 431.5 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.08719, allocations: 0 / 431.5 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.974e-05/0.08726, allocations: 108.1 kB / 431.6 MB, free: 14.1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.536e-05/0.0873, allocations: 19.92 kB / 431.6 MB, free: 14.08 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.418e-05/0.08738, allocations: 40.84 kB / 431.7 MB, free: 14.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.02e-07/0.08739, allocations: 0 / 431.7 MB, free: 14.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001289/0.08753, allocations: 89.44 kB / 431.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.651e-06/0.08754, allocations: 11.84 kB / 431.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-06/0.08755, allocations: 192 / 431.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-06/0.08755, allocations: 3.938 kB / 431.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/0.08761, allocations: 11.98 kB / 431.8 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-06/0.08762, allocations: 0 / 431.8 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.08767, allocations: 11.92 kB / 431.8 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-06/0.08768, allocations: 0 / 431.8 MB, free: 13.91 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.08773, allocations: 192.2 kB / 432 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.08777, allocations: 7.906 kB / 432 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.08792, allocations: 86.47 kB / 432.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.08794, allocations: 0 / 432.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.08794, allocations: 0 / 432.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.08795, allocations: 0 / 432.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.08823, allocations: 359.4 kB / 432.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.08824, allocations: 0 / 432.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.08829, allocations: 20.02 kB / 432.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.0883, allocations: 0 / 432.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.08831, allocations: 4 kB / 432.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.08832, allocations: 0 / 432.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.08832, allocations: 0 / 432.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.08846, allocations: 176.2 kB / 432.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.08851, allocations: 100.9 kB / 432.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.08854, allocations: 0 / 432.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.08863, allocations: 4 kB / 432.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.08866, allocations: 3.938 kB / 432.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.08867, allocations: 11.98 kB / 432.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.613e-05/0.08876, allocations: 132 kB / 432.9 MB, free: 12.72 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08876, allocations: 0 / 432.9 MB, free: 12.72 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.08907, allocations: 40 kB / 432.9 MB, free: 12.68 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.005e-05/0.08916, allocations: 99.25 kB / 433 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.08937, allocations: 71.89 kB / 433.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.08938, allocations: 0 / 433.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.708e-05/0.08944, allocations: 19.98 kB / 433.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.08981, allocations: 15.88 kB / 433.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.09025, allocations: 286.4 kB / 433.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.09038, allocations: 0.704 MB / 434.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.09042, allocations: 15.42 kB / 434.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.09043, allocations: 0 / 434.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of Templates: time 0.002746/0.09318, allocations: 1.239 MB / 435.4 MB, free: 10.16 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestSupplyValve.makefile (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & ./MEV_MEV.Test.TestSupplyValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)