Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0009463/0.0009528, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005788/0.005788, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.286/1.286, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2788/0.2788, allocations: 38.02 MB / 308.8 MB, free: 10.31 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.1. 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.0005448/0.0005449, allocations: 12 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09634/0.0969, allocations: 57.52 MB / 434.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2191/0.3161, allocations: 57.11 MB / 491.7 MB, free: 21.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02795/0.3441, allocations: 31.5 MB / 0.5109 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.3461, allocations: 35.84 kB / 0.511 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.3479, allocations: 0.5934 MB / 0.5115 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01446/0.3624, allocations: 4.717 MB / 0.5161 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01036/0.3727, allocations: 3.344 MB / 0.5194 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005583/0.3783, allocations: 4.18 MB / 0.5235 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.38, allocations: 0.7128 MB / 0.5242 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01561/0.3956, allocations: 6.158 MB / 0.5302 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01608/0.4117, allocations: 7.448 MB / 0.5375 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007323/0.4125, allocations: 60.5 kB / 0.5375 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02005/0.4326, allocations: 8.234 MB / 0.5456 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008099/0.4334, allocations: 350.8 kB / 0.5459 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.4348, allocations: 0.6588 MB / 0.5465 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01664/0.4515, allocations: 6.24 MB / 0.5526 GB, free: 3.996 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4515, allocations: 0 / 0.5526 GB, free: 3.996 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4516, allocations: 3.938 kB / 0.5526 GB, free: 3.992 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.778e-05/0.4516, allocations: 0 / 0.5526 GB, free: 3.992 MB / 414.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.006944/0.4586, allocations: 2 MB / 0.5546 GB, free: 1.941 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.4586, allocations: 19.89 kB / 0.5546 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004933/0.4636, allocations: 0.6473 MB / 0.5552 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.4651, allocations: 0.7643 MB / 0.556 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.4654, allocations: 213.4 kB / 0.5562 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/0.4657, allocations: 96.38 kB / 0.5563 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004185/0.4699, allocations: 1.857 MB / 0.5581 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.47, allocations: 7.938 kB / 0.5581 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.4701, allocations: 44 kB / 0.5582 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.487e-05/0.4702, allocations: 45.98 kB / 0.5582 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004039/0.4742, allocations: 1.686 MB / 0.5598 GB, free: 12.36 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.009647/0.4839, allocations: 8.609 MB / 0.5683 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.4871, allocations: 1.032 MB / 0.5693 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008953/0.488, allocations: 434.3 kB / 0.5697 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04407/0.5321, allocations: 25.28 MB / 0.5944 GB, free: 4.672 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.5323, allocations: 47.11 kB / 0.5944 GB, free: 4.617 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001111/0.5334, allocations: 103 kB / 0.5945 GB, free: 4.516 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 1.057e-05/0.5334, allocations: 0 / 0.5945 GB, free: 4.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.01101/0.5444, allocations: 3.587 MB / 0.598 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.5445, allocations: 115.5 kB / 0.5981 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.5457, allocations: 0.8564 MB / 0.599 GB, free: 15.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.954e-05/0.5458, allocations: 41.7 kB / 0.599 GB, free: 15.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.5462, allocations: 0.5679 MB / 0.5995 GB, free: 15.22 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.5464, allocations: 276.1 kB / 0.5998 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.5466, allocations: 117.6 kB / 0.5999 GB, free: 14.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.5468, allocations: 402.7 kB / 0.6003 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009641/0.5477, allocations: 454.3 kB / 0.6007 GB, free: 13.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.5491, allocations: 1.013 MB / 0.6017 GB, free: 12.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002367/0.5514, allocations: 1.525 MB / 0.6032 GB, free: 10.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/0.5515, allocations: 8 kB / 0.6032 GB, free: 10.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003608/0.5551, allocations: 1.771 MB / 0.605 GB, free: 9.117 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.5551, allocations: 12 kB / 0.605 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/0.5552, allocations: 20 kB / 0.605 GB, free: 9.086 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/0.558, allocations: 0.6147 MB / 0.6056 GB, free: 8.465 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007306/0.5587, allocations: 251.6 kB / 0.6058 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.5611, allocations: 1.838 MB / 0.6076 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.5623, allocations: 132 kB / 0.6077 GB, free: 6.199 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.5625, allocations: 83.97 kB / 0.6078 GB, free: 6.117 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.0006325/0.5631, allocations: 343.4 kB / 0.6082 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.5634, allocations: 110.7 kB / 0.6083 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005679/0.5691, allocations: 4.492 MB / 0.6126 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.037e-05/0.5691, allocations: 63.84 kB / 0.6127 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5691, allocations: 0 / 0.6127 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.5692, allocations: 11.97 kB / 0.6127 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007823/0.577, allocations: 6.313 MB / 0.6189 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.577, allocations: 4 kB / 0.6189 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/0.5776, allocations: 163.8 kB / 0.619 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001815/0.5795, allocations: 0.6789 MB / 0.6197 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-05/0.5795, allocations: 27.98 kB / 0.6197 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.5811, allocations: 1.792 MB / 0.6215 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5811, allocations: 4.031 kB / 0.6215 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00519/0.5863, allocations: 3.994 MB / 0.6254 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007456/0.5871, allocations: 425.8 kB / 0.6258 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.5873, allocations: 16 kB / 0.6258 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000776/0.5881, allocations: 91.78 kB / 0.6259 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.5882, allocations: 76.88 kB / 0.626 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/0.5883, allocations: 35.98 kB / 0.626 GB, free: 3.203 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008827/0.5892, allocations: 0.6627 MB / 0.6267 GB, free: 2.531 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5892, allocations: 0 / 0.6267 GB, free: 2.531 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004191/0.5934, allocations: 1.445 MB / 0.6281 GB, free: 1.086 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.191/0.7845, allocations: 1.583 MB / 0.6296 GB, free: 152.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003154/0.7877, allocations: 1.697 MB / 0.6313 GB, free: 152.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7877, allocations: 0 / 0.6313 GB, free: 152.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.7892, allocations: 1.228 MB / 0.6325 GB, free: 152.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/0.7919, allocations: 0.5036 MB / 0.633 GB, free: 152.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/0.7968, allocations: 4.532 MB / 0.6374 GB, free: 150.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006154/0.7975, allocations: 1.387 MB / 0.6387 GB, free: 150.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001154/0.7986, allocations: 0.5913 MB / 0.6393 GB, free: 150.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.7988, allocations: 101.3 kB / 0.6394 GB, free: 150.1 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7988, allocations: 0 / 0.6394 GB, free: 150.1 MB / 494.1 MB Notification: Performance of Templates: time 0.07715/0.876, allocations: 58.4 MB / 0.6964 GB, free: 122.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) Environment - environmentSimulation: