Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 106.5 kB / 18.46 MB, free: 4.613 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.001224/0.001224, allocations: 183.3 kB / 19.39 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 243.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1993/0.1993, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 71.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3756, allocations: 60.81 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve): time 0.04382/0.4194, allocations: 47.42 MB / 0.5659 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02925/0.4487, allocations: 25.94 MB / 0.5912 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.4502, allocations: 39.75 kB / 0.5912 GB, free: 2.461 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.4516, allocations: 0.497 MB / 0.5917 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01629/0.4679, allocations: 6.092 MB / 0.5977 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009603/0.4775, allocations: 3.916 MB / 0.6015 GB, free: 7.949 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004453/0.482, allocations: 2.63 MB / 0.6041 GB, free: 5.312 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.4831, allocations: 0.5958 MB / 0.6047 GB, free: 4.699 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0149/0.498, allocations: 5.883 MB / 0.6104 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01919/0.5173, allocations: 8.799 MB / 0.619 GB, free: 5.797 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000508/0.5178, allocations: 84 kB / 0.6191 GB, free: 5.715 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01717/0.535, allocations: 8.553 MB / 0.6274 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007692/0.5358, allocations: 339 kB / 0.6278 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.537, allocations: 0.5522 MB / 0.6283 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01636/0.5533, allocations: 6.094 MB / 0.6342 GB, free: 6.156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.5534, allocations: 0 / 0.6342 GB, free: 6.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5534, allocations: 3.938 kB / 0.6342 GB, free: 6.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.138e-05/0.5534, allocations: 0 / 0.6342 GB, free: 6.152 MB / 494.1 MB 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.005506/0.5589, allocations: 2.184 MB / 0.6364 GB, free: 3.906 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.559, allocations: 12.03 kB / 0.6364 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.5615, allocations: 367.3 kB / 0.6367 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/0.5724, allocations: 7.102 MB / 0.6437 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.5725, allocations: 73.97 kB / 0.6437 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.5728, allocations: 79.92 kB / 0.6438 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/0.5762, allocations: 1.428 MB / 0.6452 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.5763, allocations: 0 / 0.6452 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.5764, allocations: 35.98 kB / 0.6453 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.39e-05/0.5765, allocations: 69.91 kB / 0.6453 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003198/0.5797, allocations: 1.299 MB / 0.6466 GB, free: 9.316 MB / 0.4981 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.008636/0.5883, allocations: 6.523 MB / 0.653 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/0.591, allocations: 0.9657 MB / 0.6539 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008079/0.5919, allocations: 439.6 kB / 0.6543 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06019/0.6521, allocations: 32.33 MB / 0.6859 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/0.6522, allocations: 39 kB / 0.6859 GB, free: 12.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=56): time 3.507e-06/0.6522, allocations: 8 kB / 0.6859 GB, free: 12.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=60): time 0.009302/0.6615, allocations: 3.234 MB / 0.6891 GB, free: 9.309 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.6616, allocations: 162.7 kB / 0.6892 GB, free: 9.113 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.6627, allocations: 0.7153 MB / 0.6899 GB, free: 8.391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.878e-05/0.6628, allocations: 37.77 kB / 0.69 GB, free: 8.348 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.6631, allocations: 436.4 kB / 0.6904 GB, free: 7.914 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.6633, allocations: 218.1 kB / 0.6906 GB, free: 7.699 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002986/0.6636, allocations: 170.5 kB / 0.6908 GB, free: 7.527 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.6638, allocations: 390.7 kB / 0.6911 GB, free: 7.137 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008289/0.6646, allocations: 412.6 kB / 0.6915 GB, free: 6.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009941/0.6657, allocations: 0.6132 MB / 0.6921 GB, free: 6.023 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.6675, allocations: 1.014 MB / 0.6931 GB, free: 4.922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.6675, allocations: 0 / 0.6931 GB, free: 4.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002714/0.6702, allocations: 1.342 MB / 0.6944 GB, free: 3.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.6702, allocations: 8 kB / 0.6944 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.6703, allocations: 8 kB / 0.6944 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/0.6734, allocations: 0.6723 MB / 0.6951 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/0.6739, allocations: 155.7 kB / 0.6953 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.6756, allocations: 1.29 MB / 0.6965 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007446/0.6764, allocations: 43.95 kB / 0.6966 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/0.6765, allocations: 47.92 kB / 0.6966 GB, free: 1.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001134/0.6776, allocations: 0.5994 MB / 0.6972 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009599/0.6786, allocations: 0.5976 MB / 0.6978 GB, free: 32 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001664/0.6803, allocations: 0.9673 MB / 0.6987 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.422e-06/0.6803, allocations: 4 kB / 0.6987 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.002845/0.6831, allocations: 1.288 MB / 0.7 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.6832, allocations: 8.406 kB / 0.7 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.6832, allocations: 19.94 kB / 0.7 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/0.6849, allocations: 427.1 kB / 0.7004 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006154/0.6856, allocations: 167.7 kB / 0.7006 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.6869, allocations: 1.095 MB / 0.7016 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007975/0.6877, allocations: 47.97 kB / 0.7017 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.788e-05/0.6878, allocations: 39.98 kB / 0.7017 GB, free: 11.85 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.0003659/0.6882, allocations: 234.1 kB / 0.7019 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/0.6885, allocations: 99.42 kB / 0.702 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004501/0.693, allocations: 3.235 MB / 0.7052 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003217/0.6962, allocations: 2.735 MB / 0.7079 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6963, allocations: 0 / 0.7079 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/0.6968, allocations: 307.7 kB / 0.7082 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/0.697, allocations: 63.52 kB / 0.7082 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007096/0.6978, allocations: 67.92 kB / 0.7083 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.6979, allocations: 60.56 kB / 0.7083 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002854/0.7008, allocations: 1.937 MB / 0.7102 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003693/0.7045, allocations: 2.83 MB / 0.713 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001086/0.7056, allocations: 0.8342 MB / 0.7138 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001062/0.7067, allocations: 0.7941 MB / 0.7146 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of Backend: time 2.71e-07/0.7067, allocations: 0 / 0.7146 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01066/0.7173, allocations: 3.069 MB / 0.7176 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00455/0.7219, allocations: 3.101 MB / 0.7206 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of Templates: time 0.3251/1.047, allocations: 64.95 MB / 0.7841 GB, free: 155.1 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1)