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.001167/0.001167, allocations: 113.9 kB / 18.46 MB, free: 4.594 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.001111/0.001111, allocations: 182.1 kB / 19.38 MB, free: 3.68 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.349/1.349, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2139/0.2139, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3503, allocations: 60.83 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve): time 0.04836/0.3987, allocations: 47.42 MB / 0.5659 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03417/0.4329, allocations: 25.93 MB / 0.5912 GB, free: 2.469 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.4346, allocations: 43.69 kB / 0.5912 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.4364, allocations: 0.5009 MB / 0.5917 GB, free: 1.922 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01895/0.4554, allocations: 6.088 MB / 0.5977 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01052/0.4659, allocations: 3.908 MB / 0.6015 GB, free: 7.918 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003422/0.4694, allocations: 2.638 MB / 0.6041 GB, free: 5.277 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.4704, allocations: 0.5945 MB / 0.6046 GB, free: 4.668 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0136/0.484, allocations: 5.883 MB / 0.6104 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01876/0.5028, allocations: 8.799 MB / 0.619 GB, free: 5.766 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003673/0.5032, allocations: 84 kB / 0.6191 GB, free: 5.684 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01727/0.5205, allocations: 8.549 MB / 0.6274 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008066/0.5214, allocations: 339 kB / 0.6277 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.5227, allocations: 0.5639 MB / 0.6283 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.5358, allocations: 6.077 MB / 0.6342 GB, free: 6.137 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5359, allocations: 0 / 0.6342 GB, free: 6.137 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5359, allocations: 3.938 kB / 0.6342 GB, free: 6.133 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.495e-05/0.5359, allocations: 0 / 0.6342 GB, free: 6.133 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.006251/0.5422, allocations: 2.112 MB / 0.6363 GB, free: 3.965 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.5423, allocations: 8.031 kB / 0.6363 GB, free: 3.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/0.5449, allocations: 366.8 kB / 0.6366 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01226/0.5572, allocations: 7.091 MB / 0.6436 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-05/0.5573, allocations: 69.97 kB / 0.6436 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.5576, allocations: 79.92 kB / 0.6437 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/0.5611, allocations: 1.443 MB / 0.6451 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.5611, allocations: 0 / 0.6451 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.5612, allocations: 35.98 kB / 0.6452 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.632e-05/0.5613, allocations: 73.83 kB / 0.6452 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00334/0.5647, allocations: 1.288 MB / 0.6465 GB, free: 9.391 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.00862/0.5733, allocations: 6.518 MB / 0.6529 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.5762, allocations: 0.9697 MB / 0.6538 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008455/0.5771, allocations: 431.6 kB / 0.6542 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06581/0.6429, allocations: 32.33 MB / 0.6858 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.245e-05/0.643, allocations: 43 kB / 0.6858 GB, free: 12.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=56): time 2.996e-06/0.643, allocations: 0 / 0.6858 GB, free: 12.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=60): time 0.009761/0.6528, allocations: 3.211 MB / 0.689 GB, free: 9.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.6529, allocations: 166.8 kB / 0.6891 GB, free: 9.211 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009403/0.6538, allocations: 0.7114 MB / 0.6898 GB, free: 8.492 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.128e-05/0.6539, allocations: 33.7 kB / 0.6898 GB, free: 8.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.6543, allocations: 423.6 kB / 0.6902 GB, free: 8.031 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.6545, allocations: 201 kB / 0.6904 GB, free: 7.832 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/0.6547, allocations: 174.5 kB / 0.6906 GB, free: 7.656 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.6549, allocations: 390.7 kB / 0.691 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008798/0.6558, allocations: 412.6 kB / 0.6914 GB, free: 6.859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009896/0.6568, allocations: 0.6132 MB / 0.692 GB, free: 6.152 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.6587, allocations: 1.014 MB / 0.693 GB, free: 5.051 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6587, allocations: 0 / 0.693 GB, free: 5.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002717/0.6614, allocations: 1.338 MB / 0.6943 GB, free: 3.703 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.6614, allocations: 12.09 kB / 0.6943 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.6615, allocations: 8 kB / 0.6943 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003272/0.6647, allocations: 0.668 MB / 0.6949 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/0.6653, allocations: 159.7 kB / 0.6951 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.667, allocations: 1.282 MB / 0.6963 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007219/0.6677, allocations: 52.02 kB / 0.6964 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-05/0.6678, allocations: 43.92 kB / 0.6964 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001165/0.669, allocations: 0.6032 MB / 0.697 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009819/0.67, allocations: 0.5898 MB / 0.6976 GB, free: 172 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00182/0.6718, allocations: 0.9713 MB / 0.6985 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.451e-06/0.6719, allocations: 0 / 0.6985 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.002954/0.6748, allocations: 1.295 MB / 0.6998 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.6748, allocations: 8 kB / 0.6998 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6749, allocations: 11.94 kB / 0.6998 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.6766, allocations: 420.8 kB / 0.7002 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/0.6773, allocations: 167.8 kB / 0.7004 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.6786, allocations: 1.099 MB / 0.7015 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/0.6793, allocations: 55.95 kB / 0.7015 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.466e-05/0.6794, allocations: 43.94 kB / 0.7016 GB, free: 11.97 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.0002747/0.6797, allocations: 232 kB / 0.7018 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.6799, allocations: 83.06 kB / 0.7019 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004415/0.6843, allocations: 3.241 MB / 0.705 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003262/0.6876, allocations: 2.735 MB / 0.7077 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.6876, allocations: 3.984 kB / 0.7077 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/0.6881, allocations: 299 kB / 0.708 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/0.6884, allocations: 59.28 kB / 0.708 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007439/0.6891, allocations: 59.92 kB / 0.7081 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.6893, allocations: 64.56 kB / 0.7082 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003019/0.6923, allocations: 1.933 MB / 0.71 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003831/0.6962, allocations: 2.829 MB / 0.7128 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001154/0.6973, allocations: 0.8303 MB / 0.7136 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001108/0.6985, allocations: 0.798 MB / 0.7144 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of Backend: time 6.91e-07/0.6985, allocations: 0 / 0.7144 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01142/0.7099, allocations: 3.027 MB / 0.7174 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005378/0.7153, allocations: 3.042 MB / 0.7203 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of Templates: time 0.342/1.057, allocations: 64.96 MB / 0.7838 GB, free: 155.3 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)