Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001344/0.001344, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.4 MB / 222.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2641/0.2641, allocations: 39.99 MB / 310.4 MB, free: 10.04 MB / 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005017/0.0005018, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09339/0.09391, allocations: 57.96 MB / 436.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.2004/0.2943, allocations: 53.82 MB / 490.6 MB, free: 21.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02069/0.3151, allocations: 21.34 MB / 0.4999 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/0.3165, allocations: 35 kB / 0.5 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.3185, allocations: 0.7432 MB / 0.5007 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009805/0.3283, allocations: 3.724 MB / 0.5043 GB, free: 4.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01262/0.3409, allocations: 5.12 MB / 0.5093 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002684/0.3436, allocations: 1.671 MB / 0.511 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008347/0.3445, allocations: 0.6029 MB / 0.5115 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.346, allocations: 0.9426 MB / 0.5125 GB, free: 72 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007646/0.3468, allocations: 0.5939 MB / 0.513 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.3469, allocations: 47.38 kB / 0.5131 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01614/0.363, allocations: 7.912 MB / 0.5208 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004192/0.3635, allocations: 237.1 kB / 0.521 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005437/0.3641, allocations: 257.1 kB / 0.5213 GB, free: 13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007678/0.3717, allocations: 4.141 MB / 0.5253 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.3718, allocations: 0 / 0.5253 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3718, allocations: 1.375 kB / 0.5253 GB, free: 10.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.3718, allocations: 0 / 0.5253 GB, free: 10.54 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005113/0.3769, allocations: 2.037 MB / 0.5273 GB, free: 9.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.377, allocations: 13.61 kB / 0.5273 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005035/0.382, allocations: 0.6629 MB / 0.528 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.3833, allocations: 0.7278 MB / 0.5287 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.171e-05/0.3833, allocations: 78.34 kB / 0.5288 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.3835, allocations: 85.03 kB / 0.5288 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004241/0.3877, allocations: 1.744 MB / 0.5305 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.3878, allocations: 3.938 kB / 0.5306 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.3879, allocations: 45.16 kB / 0.5306 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.3879, allocations: 23.34 kB / 0.5306 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004333/0.3922, allocations: 1.668 MB / 0.5322 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009466/0.4017, allocations: 7.599 MB / 0.5397 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003957/0.4057, allocations: 1.313 MB / 0.5409 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04799/0.4537, allocations: 24.51 MB / 0.5649 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.4538, allocations: 43.12 kB / 0.5649 GB, free: 1.484 MB / 430.1 MB Notification: Performance of pre-optimization done (n=67): time 4.298e-06/0.4538, allocations: 0 / 0.5649 GB, free: 1.484 MB / 430.1 MB Notification: Performance of matching and sorting (n=67): time 0.007296/0.4611, allocations: 2.238 MB / 0.5671 GB, free: 15.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.753e-05/0.4612, allocations: 214.2 kB / 0.5673 GB, free: 14.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.4623, allocations: 0.835 MB / 0.5681 GB, free: 14.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.656e-05/0.4625, allocations: 37.7 kB / 0.5682 GB, free: 14.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.4628, allocations: 479.2 kB / 0.5686 GB, free: 13.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.4631, allocations: 232.6 kB / 0.5688 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.4631, allocations: 20 kB / 0.5689 GB, free: 13.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4633, allocations: 341.9 kB / 0.5692 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009643/0.4642, allocations: 401.7 kB / 0.5696 GB, free: 12.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.4654, allocations: 0.6789 MB / 0.5702 GB, free: 11.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.4664, allocations: 450.9 kB / 0.5707 GB, free: 11.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.4664, allocations: 0 / 0.5707 GB, free: 11.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002691/0.4691, allocations: 1.195 MB / 0.5718 GB, free: 10.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001195/0.4703, allocations: 3.226 MB / 0.575 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.4704, allocations: 11.98 kB / 0.575 GB, free: 6.672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/0.4704, allocations: 19.94 kB / 0.575 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009315/0.4714, allocations: 271.6 kB / 0.5753 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/0.4714, allocations: 15.94 kB / 0.5753 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.4725, allocations: 186.7 kB / 0.5755 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.4726, allocations: 55.59 kB / 0.5755 GB, free: 6.137 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.4726, allocations: 4 kB / 0.5755 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002349/0.475, allocations: 1.058 MB / 0.5766 GB, free: 5.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.475, allocations: 16.03 kB / 0.5766 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.475, allocations: 12 kB / 0.5766 GB, free: 5.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/0.4759, allocations: 267.6 kB / 0.5768 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.476, allocations: 15.94 kB / 0.5769 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.477, allocations: 171 kB / 0.577 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.64e-05/0.4771, allocations: 51.98 kB / 0.5771 GB, free: 4.551 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004976/0.4776, allocations: 340.8 kB / 0.5774 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.4778, allocations: 110.7 kB / 0.5775 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006023/0.4839, allocations: 5.12 MB / 0.5825 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-05/0.4839, allocations: 63.89 kB / 0.5826 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.484, allocations: 0 / 0.5826 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.484, allocations: 11.86 kB / 0.5826 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/0.4868, allocations: 2.506 MB / 0.585 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.4868, allocations: 0 / 0.585 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008323/0.4877, allocations: 239.8 kB / 0.5852 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.4877, allocations: 4 kB / 0.5852 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.4878, allocations: 19.98 kB / 0.5853 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.4878, allocations: 4 kB / 0.5853 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4878, allocations: 0 / 0.5853 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/0.4912, allocations: 2.383 MB / 0.5876 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.4924, allocations: 0.6952 MB / 0.5883 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003135/0.4928, allocations: 16 kB / 0.5883 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.4938, allocations: 107.7 kB / 0.5884 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.494, allocations: 89.73 kB / 0.5885 GB, free: 8.668 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.226e-05/0.4941, allocations: 35.98 kB / 0.5885 GB, free: 8.633 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001875/0.4959, allocations: 1.187 MB / 0.5897 GB, free: 7.422 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4959, allocations: 0 / 0.5897 GB, free: 7.422 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006352/0.5023, allocations: 1.561 MB / 0.5912 GB, free: 5.859 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse29.phase,$cse29.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007313/0.5096, allocations: 1.315 MB / 0.5925 GB, free: 4.547 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004549/0.5142, allocations: 2.049 MB / 0.5945 GB, free: 2.496 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.5142, allocations: 0 / 0.5945 GB, free: 2.496 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.516, allocations: 1.164 MB / 0.5956 GB, free: 1.332 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003769/0.5198, allocations: 0.5993 MB / 0.5962 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007545/0.5273, allocations: 4.921 MB / 0.601 GB, free: 11.77 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.5286, allocations: 1.572 MB / 0.6025 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002472/0.5311, allocations: 1.581 MB / 0.6041 GB, free: 8.582 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.5315, allocations: 115.4 kB / 0.6042 GB, free: 8.469 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5315, allocations: 0 / 0.6042 GB, free: 8.469 MB / 478.1 MB Notification: Performance of Templates: time 0.2258/0.7573, allocations: 56.08 MB / 0.659 GB, free: 143.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) Environment - environmentSimulation: