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.001482/0.001482, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001999/0.001999, allocations: 191.3 kB / 16.25 MB, free: 6.641 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.464/1.464, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.3086/0.3086, allocations: 39.93 MB / 309.4 MB, free: 9.273 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.00156/0.00156, allocations: 63.91 kB / 377.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.106, allocations: 56.89 MB / 434 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2242/0.3302, allocations: 57.38 MB / 491.4 MB, free: 18.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03171/0.362, allocations: 30.82 MB / 0.51 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.3637, allocations: 34.53 kB / 0.51 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.3658, allocations: 0.6013 MB / 0.5106 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01517/0.381, allocations: 5.114 MB / 0.5156 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01117/0.3922, allocations: 3.53 MB / 0.519 GB, free: 8.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005575/0.3978, allocations: 3.066 MB / 0.522 GB, free: 7.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.3993, allocations: 0.8212 MB / 0.5228 GB, free: 6.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01292/0.4123, allocations: 6.303 MB / 0.529 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.013/0.4253, allocations: 7.481 MB / 0.5363 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004292/0.4258, allocations: 115.1 kB / 0.5364 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01566/0.4415, allocations: 8.268 MB / 0.5445 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007152/0.4422, allocations: 414.8 kB / 0.5449 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.4433, allocations: 0.6806 MB / 0.5455 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01752/0.4608, allocations: 6.322 MB / 0.5517 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4609, allocations: 0 / 0.5517 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4609, allocations: 0 / 0.5517 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.964e-05/0.4609, allocations: 0 / 0.5517 GB, free: 0.5195 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.006533/0.4675, allocations: 2.246 MB / 0.5539 GB, free: 14.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4676, allocations: 12.03 kB / 0.5539 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004839/0.4724, allocations: 0.6239 MB / 0.5545 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.4739, allocations: 0.7721 MB / 0.5553 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/0.4741, allocations: 209.4 kB / 0.5555 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.4744, allocations: 96.38 kB / 0.5556 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004402/0.4788, allocations: 1.826 MB / 0.5573 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.4788, allocations: 11.92 kB / 0.5574 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.479, allocations: 48 kB / 0.5574 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/0.4791, allocations: 42 kB / 0.5574 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00403/0.4831, allocations: 1.639 MB / 0.559 GB, free: 8.75 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.01013/0.4933, allocations: 8.579 MB / 0.5674 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.4963, allocations: 0.9809 MB / 0.5684 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008287/0.4972, allocations: 424.5 kB / 0.5688 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04326/0.5405, allocations: 24.98 MB / 0.5932 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.719e-05/0.5406, allocations: 39.12 kB / 0.5932 GB, free: 1.41 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008961/0.5415, allocations: 102.9 kB / 0.5933 GB, free: 1.309 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 4.879e-06/0.5415, allocations: 0 / 0.5933 GB, free: 1.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.01099/0.5525, allocations: 3.452 MB / 0.5967 GB, free: 13.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.5526, allocations: 111.5 kB / 0.5968 GB, free: 13.64 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.5538, allocations: 0.8603 MB / 0.5976 GB, free: 12.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.522e-05/0.5539, allocations: 37.7 kB / 0.5977 GB, free: 12.73 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/0.5543, allocations: 0.5679 MB / 0.5982 GB, free: 12.15 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.5546, allocations: 280.1 kB / 0.5985 GB, free: 11.87 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.5549, allocations: 274.6 kB / 0.5987 GB, free: 11.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5551, allocations: 406.7 kB / 0.5991 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009006/0.556, allocations: 430.4 kB / 0.5995 GB, free: 10.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.5572, allocations: 0.9931 MB / 0.6005 GB, free: 9.508 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002207/0.5594, allocations: 1.495 MB / 0.602 GB, free: 7.746 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.5595, allocations: 8 kB / 0.602 GB, free: 7.738 MB / 478.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003521/0.563, allocations: 1.721 MB / 0.6037 GB, free: 6.004 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.563, allocations: 16 kB / 0.6037 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.5631, allocations: 19.98 kB / 0.6037 GB, free: 5.969 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002653/0.5657, allocations: 0.6066 MB / 0.6043 GB, free: 5.355 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007992/0.5666, allocations: 252.8 kB / 0.6045 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.5688, allocations: 1.815 MB / 0.6063 GB, free: 3.242 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.5701, allocations: 127.8 kB / 0.6064 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.5702, allocations: 79.92 kB / 0.6065 GB, free: 3.039 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.0006024/0.5708, allocations: 344.2 kB / 0.6068 GB, free: 2.691 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/0.5712, allocations: 106.7 kB / 0.6069 GB, free: 2.586 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005853/0.577, allocations: 4.451 MB / 0.6113 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.468e-05/0.5771, allocations: 67.83 kB / 0.6113 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.5771, allocations: 0 / 0.6113 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.5772, allocations: 3.984 kB / 0.6113 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007821/0.585, allocations: 6.258 MB / 0.6175 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/0.585, allocations: 3.984 kB / 0.6175 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005705/0.5856, allocations: 151.8 kB / 0.6176 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/0.5871, allocations: 0.5383 MB / 0.6181 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.612e-05/0.5872, allocations: 27.98 kB / 0.6182 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.5887, allocations: 1.792 MB / 0.6199 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.5887, allocations: 3.984 kB / 0.6199 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004907/0.5937, allocations: 3.939 MB / 0.6238 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006126/0.5943, allocations: 366.3 kB / 0.6241 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/0.5946, allocations: 35.69 kB / 0.6241 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008359/0.5954, allocations: 79.84 kB / 0.6242 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.5956, allocations: 72.89 kB / 0.6243 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.113e-05/0.5957, allocations: 35.98 kB / 0.6243 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.177/0.7727, allocations: 0.6565 MB / 0.625 GB, free: 153.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7727, allocations: 0 / 0.625 GB, free: 153.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003981/0.7767, allocations: 1.447 MB / 0.6264 GB, free: 153.9 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.00487/0.7816, allocations: 1.585 MB / 0.6279 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004264/0.7859, allocations: 1.787 MB / 0.6297 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.7859, allocations: 0 / 0.6297 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.7874, allocations: 1.213 MB / 0.6309 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/0.79, allocations: 0.5411 MB / 0.6314 GB, free: 153.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.7944, allocations: 4.43 MB / 0.6357 GB, free: 151.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006675/0.7951, allocations: 1.393 MB / 0.6371 GB, free: 150.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001322/0.7965, allocations: 0.599 MB / 0.6377 GB, free: 150.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.7967, allocations: 105 kB / 0.6378 GB, free: 150.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.683e-06/0.7967, allocations: 0 / 0.6378 GB, free: 150.4 MB / 494.1 MB Notification: Performance of Templates: time 0.07774/0.8744, allocations: 59.76 MB / 0.6961 GB, free: 118.1 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)