Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001827/0.001827, allocations: 112.2 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002088/0.002088, allocations: 207 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2394/0.2394, allocations: 46.89 MB / 361.1 MB, free: 4.727 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 75.88 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3607, allocations: 66 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve): time 0.06057/0.4212, allocations: 48.29 MB / 0.6084 GB, free: 4.566 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03813/0.4594, allocations: 26.13 MB / 0.6339 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.461, allocations: 39.75 kB / 0.6339 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.4627, allocations: 0.5087 MB / 0.6344 GB, free: 9.805 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01871/0.4814, allocations: 6.095 MB / 0.6404 GB, free: 3.703 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01154/0.4929, allocations: 3.93 MB / 0.6442 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004468/0.4974, allocations: 2.63 MB / 0.6468 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.4985, allocations: 0.5215 MB / 0.6473 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01298/0.5115, allocations: 5.91 MB / 0.6531 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01761/0.5291, allocations: 8.881 MB / 0.6617 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003423/0.5294, allocations: 84 kB / 0.6618 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01932/0.5487, allocations: 8.608 MB / 0.6702 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007971/0.5495, allocations: 354.8 kB / 0.6705 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009957/0.5505, allocations: 0.5483 MB / 0.6711 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01852/0.5691, allocations: 6.121 MB / 0.6771 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5691, allocations: 4 kB / 0.6771 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5691, allocations: 0 / 0.6771 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.148e-05/0.5691, allocations: 0 / 0.6771 GB, free: 13.86 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007324/0.5764, allocations: 2.192 MB / 0.6792 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.5765, allocations: 8.031 kB / 0.6792 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/0.5791, allocations: 371.3 kB / 0.6796 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/0.5924, allocations: 7.13 MB / 0.6865 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.632e-05/0.5924, allocations: 69.98 kB / 0.6866 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.5926, allocations: 75.98 kB / 0.6867 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003509/0.5961, allocations: 1.436 MB / 0.6881 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.5961, allocations: 0 / 0.6881 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.5962, allocations: 39.98 kB / 0.6881 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-05/0.5963, allocations: 65.89 kB / 0.6882 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00335/0.5997, allocations: 1.299 MB / 0.6894 GB, free: 0.9844 MB / 0.5137 GB 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.009446/0.6091, allocations: 6.516 MB / 0.6958 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002902/0.612, allocations: 0.9446 MB / 0.6967 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008638/0.6129, allocations: 423.5 kB / 0.6971 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07505/0.688, allocations: 35.6 MB / 0.7319 GB, free: 428 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.688, allocations: 39 kB / 0.7319 GB, free: 380 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=56): time 3.006e-06/0.688, allocations: 0 / 0.7319 GB, free: 380 kB / 0.5606 GB Notification: Performance of matching and sorting (n=60): time 0.3259/1.014, allocations: 3.234 MB / 0.7351 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/1.014, allocations: 169.4 kB / 0.7353 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008698/1.015, allocations: 0.7113 MB / 0.736 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/1.015, allocations: 41.67 kB / 0.736 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/1.015, allocations: 429.2 kB / 0.7364 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/1.015, allocations: 215.4 kB / 0.7366 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/1.016, allocations: 173.7 kB / 0.7368 GB, free: 166 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.016, allocations: 390.2 kB / 0.7371 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007248/1.016, allocations: 411.1 kB / 0.7375 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009051/1.017, allocations: 0.6146 MB / 0.7381 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/1.019, allocations: 1.01 MB / 0.7391 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.019, allocations: 3.938 kB / 0.7391 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002307/1.021, allocations: 1.332 MB / 0.7404 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/1.021, allocations: 7.938 kB / 0.7404 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.021, allocations: 7.812 kB / 0.7404 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002895/1.024, allocations: 0.6701 MB / 0.7411 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/1.025, allocations: 152.7 kB / 0.7412 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/1.026, allocations: 1.29 MB / 0.7425 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006466/1.027, allocations: 46.69 kB / 0.7425 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/1.027, allocations: 39.14 kB / 0.7426 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001008/1.028, allocations: 0.6003 MB / 0.7432 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007779/1.029, allocations: 0.5883 MB / 0.7437 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001479/1.03, allocations: 0.9734 MB / 0.7447 GB, free: 162 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/1.03, allocations: 3.812 kB / 0.7447 GB, free: 162 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.002431/1.032, allocations: 1.282 MB / 0.746 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/1.032, allocations: 8.781 kB / 0.746 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.032, allocations: 6.844 kB / 0.746 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001573/1.034, allocations: 425.4 kB / 0.7464 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/1.035, allocations: 169.4 kB / 0.7465 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/1.036, allocations: 1.097 MB / 0.7476 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/1.036, allocations: 52.95 kB / 0.7477 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/1.036, allocations: 50.62 kB / 0.7477 GB, free: 160.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 (pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,sink.medium.phase,pipe.statesFM[2].phase,source.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0002409/1.036, allocations: 220.6 kB / 0.7479 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/1.037, allocations: 94.62 kB / 0.748 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003355/1.04, allocations: 3.246 MB / 0.7512 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002442/1.042, allocations: 2.736 MB / 0.7538 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/1.042, allocations: 0 / 0.7538 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/1.043, allocations: 295.1 kB / 0.7541 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/1.043, allocations: 69.89 kB / 0.7542 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/1.044, allocations: 63.7 kB / 0.7543 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.044, allocations: 60.58 kB / 0.7543 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002251/1.046, allocations: 1.937 MB / 0.7562 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002917/1.049, allocations: 2.834 MB / 0.759 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007914/1.05, allocations: 0.6812 MB / 0.7596 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008447/1.051, allocations: 0.7972 MB / 0.7604 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of Backend: time 4.01e-07/1.051, allocations: 0 / 0.7604 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009581/1.06, allocations: 2.997 MB / 0.7633 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of SimCode: time 0.003782/1.064, allocations: 3.1 MB / 0.7664 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.06809/1.132, allocations: 65.71 MB / 0.8305 GB, free: 75.91 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1) [Timeout 480] Could not SIGINT process: 3240599. Could not SIGINT process: 3240600. Could not SIGINT process: 3240603. Could not SIGINT process: 3240080. [Calling os._exit(0), Time elapsed: 489.0299659287557] Failed to read output from testmodel.py, exit status != 0: ['time', 'pipe.mediums[1].h', 'pipe.mediums[1].p'] 1.1407727892510593 1.149079707 0.5775410409999999 Calling exit ...