Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 205.2 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2448/0.2448, allocations: 46.97 MB / 361.6 MB, free: 4.043 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 75.77 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3636, allocations: 66.04 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve): time 0.05223/0.4158, allocations: 43.53 MB / 0.6043 GB, free: 8.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03656/0.4524, allocations: 23.3 MB / 0.6271 GB, free: 1.129 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.4539, allocations: 51.56 kB / 0.6271 GB, free: 1.078 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.4555, allocations: 465.1 kB / 0.6276 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02001/0.4755, allocations: 6.115 MB / 0.6336 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01448/0.49, allocations: 4.013 MB / 0.6375 GB, free: 6.492 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004423/0.4944, allocations: 2.736 MB / 0.6401 GB, free: 3.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.4954, allocations: 0.5334 MB / 0.6407 GB, free: 3.199 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01272/0.5082, allocations: 5.919 MB / 0.6464 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01773/0.5259, allocations: 8.897 MB / 0.6551 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003517/0.5262, allocations: 87.94 kB / 0.6552 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01724/0.5435, allocations: 8.355 MB / 0.6634 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000725/0.5442, allocations: 346.9 kB / 0.6637 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000904/0.5451, allocations: 482 kB / 0.6642 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01675/0.5619, allocations: 6.059 MB / 0.6701 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5619, allocations: 0 / 0.6701 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5619, allocations: 0 / 0.6701 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.981e-05/0.5619, allocations: 0 / 0.6701 GB, free: 4.816 MB / 0.4981 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.00659/0.5685, allocations: 2.113 MB / 0.6721 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.5686, allocations: 11.97 kB / 0.6722 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.5712, allocations: 367.3 kB / 0.6725 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/0.5837, allocations: 7.057 MB / 0.6794 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.564e-05/0.5838, allocations: 66 kB / 0.6795 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.5839, allocations: 75.98 kB / 0.6795 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003649/0.5876, allocations: 1.636 MB / 0.6811 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.5876, allocations: 3.953 kB / 0.6811 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.5877, allocations: 35.98 kB / 0.6812 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.5878, allocations: 69.84 kB / 0.6812 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003397/0.5912, allocations: 1.292 MB / 0.6825 GB, free: 7.895 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.008175/0.5994, allocations: 4.451 MB / 0.6868 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/0.6023, allocations: 0.945 MB / 0.6878 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008554/0.6032, allocations: 422.5 kB / 0.6882 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06223/0.6654, allocations: 17.54 MB / 0.7053 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.222e-05/0.6655, allocations: 39 kB / 0.7053 GB, free: 332 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=56): time 3.206e-06/0.6655, allocations: 4 kB / 0.7053 GB, free: 328 kB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.008895/0.6744, allocations: 3.142 MB / 0.7084 GB, free: 13.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.6745, allocations: 174.6 kB / 0.7086 GB, free: 12.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007768/0.6752, allocations: 0.5898 MB / 0.7092 GB, free: 12.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.6753, allocations: 33.7 kB / 0.7092 GB, free: 12.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.6756, allocations: 448.2 kB / 0.7096 GB, free: 11.85 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.6758, allocations: 226.2 kB / 0.7098 GB, free: 11.63 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.6761, allocations: 166.6 kB / 0.71 GB, free: 11.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.6763, allocations: 378.8 kB / 0.7103 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008824/0.6772, allocations: 408.6 kB / 0.7107 GB, free: 10.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.6783, allocations: 0.6674 MB / 0.7114 GB, free: 9.906 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.6802, allocations: 1.008 MB / 0.7124 GB, free: 8.816 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6802, allocations: 4 kB / 0.7124 GB, free: 8.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002872/0.6831, allocations: 1.317 MB / 0.7137 GB, free: 7.484 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.6831, allocations: 11.94 kB / 0.7137 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.6831, allocations: 4 kB / 0.7137 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003428/0.6865, allocations: 0.6801 MB / 0.7143 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006471/0.6872, allocations: 151.7 kB / 0.7145 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.689, allocations: 1.286 MB / 0.7157 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007166/0.6897, allocations: 51.98 kB / 0.7158 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.93e-05/0.6898, allocations: 43.98 kB / 0.7158 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001181/0.691, allocations: 0.5916 MB / 0.7164 GB, free: 4.633 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001054/0.692, allocations: 0.644 MB / 0.717 GB, free: 3.887 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001854/0.6939, allocations: 0.9802 MB / 0.718 GB, free: 2.816 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.637e-06/0.6939, allocations: 0 / 0.718 GB, free: 2.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.003016/0.6969, allocations: 1.278 MB / 0.7192 GB, free: 1.527 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.6969, allocations: 8 kB / 0.7193 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.6969, allocations: 4 kB / 0.7193 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/0.6988, allocations: 432.8 kB / 0.7197 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.6995, allocations: 159.8 kB / 0.7198 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.7009, allocations: 1.097 MB / 0.7209 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006738/0.7016, allocations: 52.02 kB / 0.7209 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.621e-05/0.7017, allocations: 39.98 kB / 0.721 GB, free: 15.72 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.0003142/0.702, allocations: 239.6 kB / 0.7212 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.7022, allocations: 75.53 kB / 0.7213 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004776/0.707, allocations: 3.339 MB / 0.7245 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003931/0.7109, allocations: 2.829 MB / 0.7273 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.7109, allocations: 0 / 0.7273 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000596/0.7115, allocations: 222.7 kB / 0.7275 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.7117, allocations: 63.52 kB / 0.7276 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006805/0.7124, allocations: 59.92 kB / 0.7276 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.7125, allocations: 64.53 kB / 0.7277 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003152/0.7157, allocations: 1.957 MB / 0.7296 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004241/0.7199, allocations: 2.881 MB / 0.7324 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001166/0.7211, allocations: 0.7014 MB / 0.7331 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001031/0.7221, allocations: 0.7012 MB / 0.7338 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of Backend: time 6.52e-07/0.7221, allocations: 0 / 0.7338 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2382/0.9604, allocations: 2.975 MB / 0.7367 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of SimCode: time 0.004459/0.9648, allocations: 2.983 MB / 0.7396 GB, free: 165 MB / 0.5606 GB Notification: Performance of Templates: time 0.06516/1.03, allocations: 64.54 MB / 0.8026 GB, free: 106.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1) [Timeout 480] Could not SIGINT process: 179022. Could not SIGINT process: 179023. Could not SIGINT process: 179028. Could not SIGINT process: 178462. [Calling os._exit(0), Time elapsed: 488.8328485909951] Failed to read output from testmodel.py, exit status != 0: ['time', 'pipe.mediums[1].h', 'pipe.mediums[1].p'] 1.0386633949965471 1.047036093 0.482672977 Calling exit ...