Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestPipes.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.TestPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipes") translateModel(MEV.Test.TestPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00769/0.00769, allocations: 101.4 kB / 15.88 MB, free: 5.867 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.001257/0.001257, allocations: 193.3 kB / 16.79 MB, free: 5.809 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.363/1.363, allocations: 205.1 MB / 222.7 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008819/0.008819, allocations: 1.943 MB / 271.9 MB, free: 3.566 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.00143/0.00143, allocations: 71.89 kB / 329.8 MB, free: 33.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08037/0.08181, allocations: 47.13 MB / 376.9 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.004273/0.08613, allocations: 3.37 MB / 380.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.08774, allocations: 0.8354 MB / 381.1 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.08789, allocations: 4 kB / 381.1 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.08805, allocations: 43.67 kB / 381.2 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.0883, allocations: 99.16 kB / 381.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.08862, allocations: 87.91 kB / 381.4 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.08899, allocations: 399 kB / 381.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.08916, allocations: 60.98 kB / 381.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.08936, allocations: 143.3 kB / 382 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.08958, allocations: 159.3 kB / 382.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.08962, allocations: 16 kB / 382.1 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.08974, allocations: 32 kB / 382.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.0898, allocations: 55.75 kB / 382.2 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.08995, allocations: 155.2 kB / 382.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.09021, allocations: 231.4 kB / 382.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.09023, allocations: 0 / 382.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.09023, allocations: 0 / 382.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.09025, allocations: 4 kB / 382.6 MB, free: 12.42 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00113/0.09138, allocations: 0.612 MB / 383.2 MB, free: 11.76 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.09143, allocations: 12.03 kB / 383.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.433e-05/0.09151, allocations: 36.47 kB / 383.3 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.09181, allocations: 259.7 kB / 383.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.09184, allocations: 20.88 kB / 383.5 MB, free: 11.4 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/0.0919, allocations: 32.36 kB / 383.6 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.09235, allocations: 233.2 kB / 383.8 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.09237, allocations: 3.938 kB / 383.8 MB, free: 11.13 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.0924, allocations: 8 kB / 383.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.09242, allocations: 4 kB / 383.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.09281, allocations: 190.1 kB / 384 MB, free: 10.93 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.09408, allocations: 0.7445 MB / 384.7 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000635/0.09473, allocations: 310.6 kB / 385 MB, free: 9.824 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.095, allocations: 152.8 kB / 385.2 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.09505, allocations: 4 kB / 385.2 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.09508, allocations: 34.56 kB / 385.2 MB, free: 9.625 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 3.837e-06/0.09509, allocations: 3.984 kB / 385.2 MB, free: 9.621 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.005526/0.1006, allocations: 1.539 MB / 386.8 MB, free: 7.984 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1007, allocations: 55.41 kB / 386.8 MB, free: 7.918 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.101, allocations: 229 kB / 387 MB, free: 7.684 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.101, allocations: 37.7 kB / 387.1 MB, free: 7.641 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.1011, allocations: 132.8 kB / 387.2 MB, free: 7.508 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.807e-05/0.1012, allocations: 122.2 kB / 387.3 MB, free: 7.387 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.904e-05/0.1013, allocations: 57.7 kB / 387.4 MB, free: 7.324 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1014, allocations: 338.8 kB / 387.7 MB, free: 6.984 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.1016, allocations: 104.6 kB / 387.8 MB, free: 6.879 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.1018, allocations: 95.72 kB / 387.9 MB, free: 6.785 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.1022, allocations: 225.3 kB / 388.1 MB, free: 6.562 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1022, allocations: 3.938 kB / 388.1 MB, free: 6.559 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008893/0.1031, allocations: 394.2 kB / 388.5 MB, free: 6.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1032, allocations: 15.92 kB / 388.5 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.1032, allocations: 0 / 388.5 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/0.1049, allocations: 273.4 kB / 388.8 MB, free: 5.871 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/0.1055, allocations: 87.88 kB / 388.9 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.1069, allocations: 1.862 MB / 390.8 MB, free: 3.848 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.1071, allocations: 8.031 kB / 390.8 MB, free: 3.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.1071, allocations: 4 kB / 390.8 MB, free: 3.836 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002688/0.1074, allocations: 196.2 kB / 391 MB, free: 3.641 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001673/0.1076, allocations: 91.89 kB / 391.1 MB, free: 3.551 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003658/0.1079, allocations: 225.3 kB / 391.3 MB, free: 3.328 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/0.1079, allocations: 4 kB / 391.3 MB, free: 3.324 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001057/0.109, allocations: 430.4 kB / 391.7 MB, free: 2.891 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.109, allocations: 8.625 kB / 391.7 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.109, allocations: 0 / 391.7 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007995/0.1098, allocations: 193.5 kB / 391.9 MB, free: 2.688 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.1101, allocations: 63.89 kB / 392 MB, free: 2.625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004004/0.1141, allocations: 3.611 MB / 395.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.1144, allocations: 8.031 kB / 395.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1144, allocations: 8 kB / 395.6 MB, free: 14.73 MB / 302.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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,10), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.1145, allocations: 197.1 kB / 395.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.1146, allocations: 31.62 kB / 395.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008667/0.1155, allocations: 402.6 kB / 396.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1155, allocations: 7.984 kB / 396.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1155, allocations: 0 / 396.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1155, allocations: 7.984 kB / 396.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.116, allocations: 361.4 kB / 396.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.116, allocations: 0 / 396.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.1165, allocations: 79.88 kB / 396.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001423/0.118, allocations: 249.5 kB / 396.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.118, allocations: 4 kB / 396.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.1193, allocations: 1.851 MB / 398.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1193, allocations: 0 / 398.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.1204, allocations: 0.6222 MB / 399.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.1206, allocations: 140.8 kB / 399.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.1206, allocations: 8 kB / 399.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.1208, allocations: 8 kB / 399.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.1209, allocations: 23.91 kB / 399.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.1209, allocations: 12 kB / 399.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.1211, allocations: 168.5 kB / 399.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1211, allocations: 0 / 399.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005944/0.1217, allocations: 140 kB / 399.9 MB, free: 10.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipeSegment1.p,pipeSegment2.p) * 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001695/0.1219, allocations: 115.2 kB / 400 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.1237, allocations: 0.7585 MB / 400.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1238, allocations: 0 / 400.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007249/0.1245, allocations: 207.8 kB / 400.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.1249, allocations: 36.45 kB / 401 MB, free: 9.121 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.1266, allocations: 0.9661 MB / 401.9 MB, free: 8.129 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.127, allocations: 0.7643 MB / 402.7 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.1271, allocations: 19.44 kB / 402.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1271, allocations: 0 / 402.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of Templates: time 0.008149/0.1352, allocations: 6.06 MB / 408.8 MB, free: 1.25 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestPipes.makefile (rm -f MEV_MEV.Test.TestPipes.pipe ; mkfifo MEV_MEV.Test.TestPipes.pipe ; head -c 1048576 < MEV_MEV.Test.TestPipes.pipe >> ../files/MEV_MEV.Test.TestPipes.sim & ./MEV_MEV.Test.TestPipes -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPipes.pipe 2>&1)