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.001283/0.001284, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.0126/0.0126, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.516/1.516, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3155/0.3155, allocations: 40 MB / 310.7 MB, free: 9.879 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.0005143/0.0005143, allocations: 12 kB / 379.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1059, allocations: 57.95 MB / 437.4 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2351/0.341, allocations: 57.12 MB / 494.5 MB, free: 18.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03634/0.3774, allocations: 31.48 MB / 0.5137 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.3792, allocations: 36.41 kB / 0.5137 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.3814, allocations: 0.5919 MB / 0.5143 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01592/0.3973, allocations: 4.717 MB / 0.5189 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.4074, allocations: 3.349 MB / 0.5222 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006337/0.4138, allocations: 4.183 MB / 0.5263 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.4154, allocations: 0.7036 MB / 0.5269 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01384/0.4293, allocations: 6.151 MB / 0.533 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01531/0.4447, allocations: 7.45 MB / 0.5402 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004371/0.4452, allocations: 60.66 kB / 0.5403 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01682/0.462, allocations: 8.239 MB / 0.5483 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007976/0.4628, allocations: 350.8 kB / 0.5487 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.4641, allocations: 0.6549 MB / 0.5493 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0158/0.4799, allocations: 6.236 MB / 0.5554 GB, free: 15.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.48, allocations: 4 kB / 0.5554 GB, free: 15.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.347e-06/0.48, allocations: 0 / 0.5554 GB, free: 15.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.48, allocations: 0 / 0.5554 GB, free: 15.52 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.005373/0.4854, allocations: 2.009 MB / 0.5574 GB, free: 13.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4855, allocations: 11.97 kB / 0.5574 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00457/0.49, allocations: 0.6396 MB / 0.558 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.4913, allocations: 0.7721 MB / 0.5588 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.4915, allocations: 209.4 kB / 0.559 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.4917, allocations: 96.38 kB / 0.559 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003993/0.4957, allocations: 1.861 MB / 0.5609 GB, free: 9.676 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.4958, allocations: 7.938 kB / 0.5609 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.4959, allocations: 51.98 kB / 0.5609 GB, free: 9.617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.504e-05/0.496, allocations: 38 kB / 0.561 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004137/0.5001, allocations: 1.694 MB / 0.5626 GB, free: 7.887 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.009765/0.5099, allocations: 8.598 MB / 0.571 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/0.513, allocations: 1.036 MB / 0.572 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008644/0.5139, allocations: 434.3 kB / 0.5724 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04485/0.5587, allocations: 25.29 MB / 0.5971 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/0.5588, allocations: 43.12 kB / 0.5972 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008046/0.5596, allocations: 102.9 kB / 0.5973 GB, free: 40 kB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 2.455e-06/0.5597, allocations: 4 kB / 0.5973 GB, free: 36 kB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.01095/0.5706, allocations: 3.583 MB / 0.6008 GB, free: 12.37 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.5707, allocations: 111.5 kB / 0.6009 GB, free: 12.24 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.572, allocations: 0.8565 MB / 0.6017 GB, free: 11.37 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.051e-05/0.5721, allocations: 45.64 kB / 0.6018 GB, free: 11.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/0.5725, allocations: 0.564 MB / 0.6023 GB, free: 10.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.5727, allocations: 284.1 kB / 0.6026 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.5729, allocations: 125.6 kB / 0.6027 GB, free: 10.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.5731, allocations: 406.7 kB / 0.6031 GB, free: 9.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008798/0.574, allocations: 450.3 kB / 0.6035 GB, free: 9.492 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.5752, allocations: 1.009 MB / 0.6045 GB, free: 8.215 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/0.5775, allocations: 1.521 MB / 0.606 GB, free: 6.426 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.5775, allocations: 8 kB / 0.606 GB, free: 6.418 MB / 478.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003338/0.5808, allocations: 1.775 MB / 0.6077 GB, free: 4.629 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.5809, allocations: 12 kB / 0.6077 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.5809, allocations: 20 kB / 0.6078 GB, free: 4.598 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002812/0.5837, allocations: 0.6191 MB / 0.6084 GB, free: 3.973 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/0.5845, allocations: 255.5 kB / 0.6086 GB, free: 3.723 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.5868, allocations: 1.838 MB / 0.6104 GB, free: 1.832 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.588, allocations: 127.8 kB / 0.6105 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.5881, allocations: 84.02 kB / 0.6106 GB, free: 1.625 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.0005798/0.5887, allocations: 347.4 kB / 0.6109 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.5889, allocations: 106.7 kB / 0.611 GB, free: 1.168 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005491/0.5944, allocations: 4.5 MB / 0.6154 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-05/0.5945, allocations: 63.84 kB / 0.6155 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5945, allocations: 4 kB / 0.6155 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.5945, allocations: 7.922 kB / 0.6155 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007327/0.6018, allocations: 6.309 MB / 0.6217 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6019, allocations: 0 / 0.6217 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.6025, allocations: 167.8 kB / 0.6218 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001815/0.6043, allocations: 0.6788 MB / 0.6225 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/0.6044, allocations: 31.92 kB / 0.6225 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.606, allocations: 1.787 MB / 0.6243 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.606, allocations: 3.938 kB / 0.6243 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2056/0.8116, allocations: 3.993 MB / 0.6282 GB, free: 150.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00069/0.8123, allocations: 423.8 kB / 0.6286 GB, free: 150.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.8125, allocations: 19.41 kB / 0.6286 GB, free: 150.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006914/0.8132, allocations: 87.42 kB / 0.6287 GB, free: 150.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.8133, allocations: 71.28 kB / 0.6287 GB, free: 150.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/0.8134, allocations: 35.88 kB / 0.6288 GB, free: 150.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007248/0.8141, allocations: 0.6627 MB / 0.6294 GB, free: 150.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8141, allocations: 0 / 0.6294 GB, free: 150.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003439/0.8176, allocations: 1.446 MB / 0.6308 GB, free: 150.3 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.004741/0.8223, allocations: 1.593 MB / 0.6324 GB, free: 150.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002764/0.8251, allocations: 1.692 MB / 0.634 GB, free: 150.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.8251, allocations: 3.188 kB / 0.634 GB, free: 150.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.8269, allocations: 1.223 MB / 0.6352 GB, free: 150.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.8297, allocations: 0.5168 MB / 0.6357 GB, free: 150.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/0.8344, allocations: 4.528 MB / 0.6402 GB, free: 148.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.835, allocations: 1.387 MB / 0.6415 GB, free: 147.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0012/0.8362, allocations: 0.5918 MB / 0.6421 GB, free: 147.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.8365, allocations: 98.84 kB / 0.6422 GB, free: 147.5 MB / 494.1 MB Notification: Performance of SimCode: time 8.42e-07/0.8365, allocations: 0 / 0.6422 GB, free: 147.5 MB / 494.1 MB Notification: Performance of Templates: time 0.07474/0.9112, allocations: 58.4 MB / 0.6992 GB, free: 116.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: