Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.001095/0.001096, allocations: 101.9 kB / 17.08 MB, free: 5.988 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.001058/0.001058, allocations: 198.2 kB / 18.02 MB, free: 5.07 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.312/1.312, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1913/0.1913, allocations: 43.53 MB / 314.8 MB, free: 480 kB / 254.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.001392/0.001392, allocations: 71.89 kB / 442.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09606, allocations: 57.79 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve): time 0.262/0.3581, allocations: 47.42 MB / 0.5348 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02744/0.3856, allocations: 25.89 MB / 0.5601 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.3867, allocations: 39.12 kB / 0.5602 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.3878, allocations: 0.5032 MB / 0.5607 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01567/0.4035, allocations: 6.045 MB / 0.5666 GB, free: 1.145 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009659/0.4132, allocations: 3.91 MB / 0.5704 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003432/0.4167, allocations: 2.63 MB / 0.5729 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007697/0.4174, allocations: 0.6052 MB / 0.5735 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0107/0.4282, allocations: 5.874 MB / 0.5793 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01517/0.4434, allocations: 8.798 MB / 0.5879 GB, free: 4.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.4436, allocations: 82.41 kB / 0.5879 GB, free: 4.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01757/0.4611, allocations: 8.552 MB / 0.5963 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004828/0.4617, allocations: 339 kB / 0.5966 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008192/0.4625, allocations: 0.56 MB / 0.5972 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01405/0.4765, allocations: 6.073 MB / 0.6031 GB, free: 5.195 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4766, allocations: 0 / 0.6031 GB, free: 5.195 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4766, allocations: 0 / 0.6031 GB, free: 5.195 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.226e-05/0.4766, allocations: 0 / 0.6031 GB, free: 5.195 MB / 446.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.005525/0.4822, allocations: 2.109 MB / 0.6052 GB, free: 3.035 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4822, allocations: 12.03 kB / 0.6052 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/0.4848, allocations: 366.7 kB / 0.6055 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/0.4959, allocations: 7.087 MB / 0.6124 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.36e-05/0.496, allocations: 77.84 kB / 0.6125 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.4961, allocations: 75.98 kB / 0.6126 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003099/0.4992, allocations: 1.435 MB / 0.614 GB, free: 9.879 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.4993, allocations: 4 kB / 0.614 GB, free: 9.875 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.4994, allocations: 35.92 kB / 0.614 GB, free: 9.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-05/0.4995, allocations: 69.84 kB / 0.6141 GB, free: 9.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/0.5026, allocations: 1.296 MB / 0.6154 GB, free: 8.477 MB / 462.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.007364/0.51, allocations: 6.514 MB / 0.6217 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/0.5127, allocations: 0.9724 MB / 0.6227 GB, free: 432 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008111/0.5136, allocations: 443.6 kB / 0.6231 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06371/0.5773, allocations: 32.32 MB / 0.6547 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.638e-05/0.5774, allocations: 39 kB / 0.6547 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=56): time 3.747e-06/0.5774, allocations: 0 / 0.6547 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.009083/0.5865, allocations: 3.204 MB / 0.6578 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.5866, allocations: 158.8 kB / 0.658 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009557/0.5875, allocations: 0.7152 MB / 0.6587 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/0.5876, allocations: 37.7 kB / 0.6587 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.5879, allocations: 431.5 kB / 0.6591 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.5881, allocations: 205 kB / 0.6593 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.5884, allocations: 166.5 kB / 0.6595 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.5886, allocations: 390.8 kB / 0.6598 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008623/0.5895, allocations: 412.6 kB / 0.6602 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.5905, allocations: 0.6132 MB / 0.6608 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.5924, allocations: 1.006 MB / 0.6618 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.5924, allocations: 0 / 0.6618 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002626/0.595, allocations: 1.342 MB / 0.6631 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.595, allocations: 12.06 kB / 0.6631 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.5951, allocations: 4 kB / 0.6631 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003262/0.5983, allocations: 0.6758 MB / 0.6638 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/0.5989, allocations: 159.7 kB / 0.664 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.6007, allocations: 1.282 MB / 0.6652 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007546/0.6015, allocations: 48.03 kB / 0.6653 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.324e-05/0.6016, allocations: 43.98 kB / 0.6653 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001161/0.6027, allocations: 0.5954 MB / 0.6659 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009421/0.6037, allocations: 0.5898 MB / 0.6665 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001728/0.6054, allocations: 0.9712 MB / 0.6674 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.961e-06/0.6055, allocations: 3.984 kB / 0.6674 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.002823/0.6083, allocations: 1.291 MB / 0.6687 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.6083, allocations: 8 kB / 0.6687 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.6083, allocations: 15.88 kB / 0.6687 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001777/0.6101, allocations: 424.8 kB / 0.6691 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.6108, allocations: 163.8 kB / 0.6693 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.6121, allocations: 1.091 MB / 0.6703 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007015/0.6128, allocations: 48.02 kB / 0.6704 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/0.6129, allocations: 43.98 kB / 0.6704 GB, free: 11.1 MB / 0.5137 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.0002947/0.6132, allocations: 239.9 kB / 0.6706 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.6134, allocations: 85.34 kB / 0.6707 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004426/0.6179, allocations: 3.244 MB / 0.6739 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003278/0.6211, allocations: 2.731 MB / 0.6765 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.6212, allocations: 4 kB / 0.6766 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005196/0.6217, allocations: 291 kB / 0.6768 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.622, allocations: 65.55 kB / 0.6769 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007472/0.6227, allocations: 67.86 kB / 0.677 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.6229, allocations: 56.58 kB / 0.677 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003049/0.6259, allocations: 1.937 MB / 0.6789 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003835/0.6298, allocations: 2.829 MB / 0.6817 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001127/0.6309, allocations: 0.8342 MB / 0.6825 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001116/0.632, allocations: 0.7941 MB / 0.6833 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of Backend: time 2e-07/0.6321, allocations: 0 / 0.6833 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01047/0.6425, allocations: 3.024 MB / 0.6862 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of SimCode: time 0.004667/0.6472, allocations: 3.042 MB / 0.6892 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of Templates: time 0.09467/0.7419, allocations: 65.62 MB / 0.7533 GB, free: 6.004 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1)