Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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: 197.7 kB / 16.14 MB, free: 6.711 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.458/1.458, allocations: 205.1 MB / 222 MB, free: 4.977 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.3072/0.3072, allocations: 39.93 MB / 309.3 MB, free: 9.543 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.001314/0.001314, allocations: 70.55 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1185, allocations: 56.88 MB / 433.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2538/0.3723, allocations: 58.23 MB / 492 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0277/0.4, allocations: 31.92 MB / 0.5117 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.4015, allocations: 39.62 kB / 0.5117 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.4034, allocations: 0.5908 MB / 0.5123 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01418/0.4176, allocations: 4.724 MB / 0.5169 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01031/0.4279, allocations: 3.344 MB / 0.5202 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00529/0.4332, allocations: 4.182 MB / 0.5243 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.4345, allocations: 0.7117 MB / 0.525 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01553/0.4501, allocations: 6.163 MB / 0.531 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01651/0.4666, allocations: 7.457 MB / 0.5383 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003601/0.467, allocations: 63.38 kB / 0.5383 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01704/0.484, allocations: 8.231 MB / 0.5464 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006456/0.4847, allocations: 366.8 kB / 0.5467 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.4858, allocations: 0.6259 MB / 0.5473 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.4995, allocations: 6.283 MB / 0.5535 GB, free: 15.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4995, allocations: 0 / 0.5535 GB, free: 15.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4995, allocations: 0 / 0.5535 GB, free: 15.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.4996, allocations: 0 / 0.5535 GB, free: 15.02 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.00543/0.505, allocations: 2.253 MB / 0.5557 GB, free: 12.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.5051, allocations: 15.97 kB / 0.5557 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004956/0.51, allocations: 0.6162 MB / 0.5563 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.5114, allocations: 0.7682 MB / 0.557 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.5117, allocations: 209.4 kB / 0.5572 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.5119, allocations: 108.3 kB / 0.5573 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004115/0.516, allocations: 1.82 MB / 0.5591 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.516, allocations: 7.938 kB / 0.5591 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.5162, allocations: 47.98 kB / 0.5592 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.935e-05/0.5162, allocations: 46 kB / 0.5592 GB, free: 8.883 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004149/0.5204, allocations: 1.643 MB / 0.5608 GB, free: 7.242 MB / 430.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.01042/0.5308, allocations: 8.553 MB / 0.5692 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003046/0.5339, allocations: 0.9965 MB / 0.5701 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008098/0.5347, allocations: 414.9 kB / 0.5705 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04284/0.5776, allocations: 24.98 MB / 0.5949 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.5777, allocations: 43.12 kB / 0.595 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000663/0.5783, allocations: 106.9 kB / 0.5951 GB, free: 15.81 MB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 4.028e-06/0.5783, allocations: 0 / 0.5951 GB, free: 15.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.009802/0.5882, allocations: 3.467 MB / 0.5984 GB, free: 12.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.5882, allocations: 115.5 kB / 0.5986 GB, free: 12.13 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009776/0.5892, allocations: 0.8487 MB / 0.5994 GB, free: 11.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/0.5893, allocations: 45.64 kB / 0.5994 GB, free: 11.22 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/0.5897, allocations: 0.5717 MB / 0.6 GB, free: 10.64 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.5899, allocations: 276.1 kB / 0.6002 GB, free: 10.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003211/0.5902, allocations: 270.5 kB / 0.6005 GB, free: 10.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.5904, allocations: 410.7 kB / 0.6009 GB, free: 9.684 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008614/0.5913, allocations: 430.3 kB / 0.6013 GB, free: 9.262 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.5925, allocations: 0.9931 MB / 0.6023 GB, free: 8.004 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/0.5947, allocations: 1.494 MB / 0.6037 GB, free: 6.242 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.5947, allocations: 4 kB / 0.6037 GB, free: 6.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003252/0.598, allocations: 1.732 MB / 0.6054 GB, free: 4.492 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.598, allocations: 12 kB / 0.6054 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.598, allocations: 20 kB / 0.6055 GB, free: 4.461 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002561/0.6006, allocations: 0.5914 MB / 0.606 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/0.6013, allocations: 247.5 kB / 0.6063 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.6035, allocations: 1.823 MB / 0.6081 GB, free: 1.746 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.6046, allocations: 119.8 kB / 0.6082 GB, free: 1.629 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.6047, allocations: 79.92 kB / 0.6082 GB, free: 1.551 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005029/0.6053, allocations: 343.5 kB / 0.6086 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.6055, allocations: 106.6 kB / 0.6087 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00544/0.6109, allocations: 4.45 MB / 0.613 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.003e-05/0.611, allocations: 63.84 kB / 0.6131 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.611, allocations: 0 / 0.6131 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.611, allocations: 7.922 kB / 0.6131 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007314/0.6184, allocations: 6.262 MB / 0.6192 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.6184, allocations: 0 / 0.6192 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.619, allocations: 147.8 kB / 0.6193 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001696/0.6207, allocations: 0.6633 MB / 0.62 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/0.6208, allocations: 31.92 kB / 0.62 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.6225, allocations: 1.785 MB / 0.6218 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6225, allocations: 8 kB / 0.6218 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1824/0.8049, allocations: 3.944 MB / 0.6256 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007682/0.8057, allocations: 351.2 kB / 0.626 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.8059, allocations: 37.64 kB / 0.626 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/0.8067, allocations: 83.44 kB / 0.6261 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.8068, allocations: 73.05 kB / 0.6261 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.8069, allocations: 35.12 kB / 0.6262 GB, free: 153.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007053/0.8076, allocations: 0.6613 MB / 0.6268 GB, free: 153.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8076, allocations: 0 / 0.6268 GB, free: 153.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004059/0.8117, allocations: 1.452 MB / 0.6282 GB, free: 153.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,10), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005239/0.8169, allocations: 1.586 MB / 0.6298 GB, free: 153 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0028/0.8197, allocations: 1.662 MB / 0.6314 GB, free: 153 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.8198, allocations: 3.219 kB / 0.6314 GB, free: 153 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.8212, allocations: 1.207 MB / 0.6326 GB, free: 152.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.8238, allocations: 0.511 MB / 0.6331 GB, free: 152.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004648/0.8285, allocations: 4.429 MB / 0.6374 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007019/0.8292, allocations: 1.383 MB / 0.6388 GB, free: 149.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001311/0.8305, allocations: 0.5845 MB / 0.6393 GB, free: 149.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.8307, allocations: 102.3 kB / 0.6394 GB, free: 149.2 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.8307, allocations: 0 / 0.6394 GB, free: 149.2 MB / 494.1 MB Notification: Performance of Templates: time 0.07611/0.9069, allocations: 58.61 MB / 0.6967 GB, free: 118 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1)