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.006695/0.006695, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001537/0.001537, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.37/1.37, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.2821/0.2821, allocations: 38 MB / 307.9 MB, free: 10.39 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.001453/0.001453, allocations: 71.89 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2703, allocations: 56.47 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.0543/0.3246, allocations: 56.84 MB / 0.5335 GB, free: 8.633 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03675/0.3614, allocations: 30.7 MB / 0.5635 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.363, allocations: 27.81 kB / 0.5635 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.3652, allocations: 0.6755 MB / 0.5642 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0237/0.3889, allocations: 5.712 MB / 0.5697 GB, free: 5.344 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01208/0.401, allocations: 3.856 MB / 0.5735 GB, free: 1.473 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004034/0.405, allocations: 3.055 MB / 0.5765 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.4065, allocations: 0.8247 MB / 0.5773 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01534/0.4218, allocations: 6.33 MB / 0.5835 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01558/0.4374, allocations: 7.42 MB / 0.5907 GB, free: 15.62 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003771/0.4378, allocations: 116 kB / 0.5908 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01659/0.4545, allocations: 8.378 MB / 0.599 GB, free: 7.121 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008121/0.4553, allocations: 406.8 kB / 0.5994 GB, free: 6.723 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.4571, allocations: 0.6689 MB / 0.6001 GB, free: 6.051 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01687/0.4739, allocations: 6.318 MB / 0.6062 GB, free: 15.72 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.474, allocations: 0 / 0.6062 GB, free: 15.72 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.474, allocations: 0 / 0.6062 GB, free: 15.72 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.726e-05/0.474, allocations: 0 / 0.6062 GB, free: 15.72 MB / 494.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.005886/0.4799, allocations: 2.245 MB / 0.6084 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.48, allocations: 8.031 kB / 0.6084 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004887/0.4849, allocations: 0.6278 MB / 0.609 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.4866, allocations: 0.8072 MB / 0.6098 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.4868, allocations: 213.3 kB / 0.61 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.487, allocations: 100.1 kB / 0.6101 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004342/0.4913, allocations: 1.814 MB / 0.6119 GB, free: 9.656 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.4914, allocations: 7.938 kB / 0.6119 GB, free: 9.648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.4915, allocations: 47.98 kB / 0.612 GB, free: 9.602 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.508e-05/0.4916, allocations: 45.98 kB / 0.612 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004238/0.4959, allocations: 1.639 MB / 0.6136 GB, free: 7.918 MB / 494.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.009814/0.5057, allocations: 8.566 MB / 0.622 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/0.5087, allocations: 0.9929 MB / 0.6229 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008378/0.5096, allocations: 418.2 kB / 0.6233 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2793/0.7889, allocations: 25.01 MB / 0.6478 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/0.789, allocations: 43.67 kB / 0.6478 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007985/0.7898, allocations: 89.72 kB / 0.6479 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 3.537e-06/0.7898, allocations: 4 kB / 0.6479 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78): time 0.01139/0.8012, allocations: 3.456 MB / 0.6513 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.8013, allocations: 115.5 kB / 0.6514 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.8026, allocations: 0.8497 MB / 0.6522 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.8027, allocations: 40.64 kB / 0.6522 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.8031, allocations: 0.5663 MB / 0.6528 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.8033, allocations: 286 kB / 0.6531 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003521/0.8037, allocations: 271.1 kB / 0.6533 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.8038, allocations: 406.9 kB / 0.6537 GB, free: 125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009898/0.8048, allocations: 433.7 kB / 0.6541 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.8061, allocations: 0.9945 MB / 0.6551 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/0.8084, allocations: 1.499 MB / 0.6566 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.8084, allocations: 5.375 kB / 0.6566 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003596/0.812, allocations: 1.721 MB / 0.6583 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.812, allocations: 17.59 kB / 0.6583 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.8121, allocations: 22.97 kB / 0.6583 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002518/0.8146, allocations: 0.5953 MB / 0.6589 GB, free: 122 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/0.8153, allocations: 247.1 kB / 0.6591 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.8173, allocations: 1.815 MB / 0.6609 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009537/0.8182, allocations: 68.05 kB / 0.6609 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.8184, allocations: 81.94 kB / 0.661 GB, free: 120.5 MB / 0.4981 GB 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.0005452/0.8189, allocations: 337.9 kB / 0.6613 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/0.8192, allocations: 105.5 kB / 0.6614 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005613/0.8248, allocations: 4.435 MB / 0.6658 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.942e-05/0.8249, allocations: 59.66 kB / 0.6658 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.8249, allocations: 3 kB / 0.6658 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.8249, allocations: 9.016 kB / 0.6658 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007242/0.8321, allocations: 6.257 MB / 0.672 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.8322, allocations: 3.938 kB / 0.672 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000571/0.8328, allocations: 154.4 kB / 0.6721 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.8341, allocations: 0.5358 MB / 0.6726 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/0.8342, allocations: 23.16 kB / 0.6727 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.8355, allocations: 1.792 MB / 0.6744 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8355, allocations: 0 / 0.6744 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004911/0.8404, allocations: 3.941 MB / 0.6783 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006389/0.8411, allocations: 360.9 kB / 0.6786 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.8412, allocations: 31.69 kB / 0.6786 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/0.8418, allocations: 47.64 kB / 0.6787 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.842, allocations: 76.45 kB / 0.6787 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.842, allocations: 39.61 kB / 0.6788 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007924/0.8428, allocations: 0.6623 MB / 0.6794 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8428, allocations: 0 / 0.6794 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004627/0.8475, allocations: 1.438 MB / 0.6808 GB, free: 109.7 MB / 0.4981 GB 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.006111/0.8536, allocations: 1.597 MB / 0.6824 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003164/0.8568, allocations: 1.67 MB / 0.684 GB, free: 108 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.8568, allocations: 0 / 0.684 GB, free: 108 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.8584, allocations: 1.216 MB / 0.6852 GB, free: 106.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/0.8612, allocations: 0.5453 MB / 0.6857 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004582/0.8658, allocations: 3.602 MB / 0.6893 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.8664, allocations: 1.391 MB / 0.6906 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001062/0.8674, allocations: 0.5909 MB / 0.6912 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.8676, allocations: 99.41 kB / 0.6913 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.8676, allocations: 0 / 0.6913 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.06652/0.9342, allocations: 60.28 MB / 0.7502 GB, free: 40.23 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (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)