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.006414/0.006414, allocations: 104.2 kB / 15.74 MB, free: 5.988 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.001248/0.001248, allocations: 196.2 kB / 16.67 MB, free: 5.914 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.431/1.431, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.2875/0.2875, allocations: 38 MB / 307.9 MB, free: 10.03 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.001555/0.001555, allocations: 67.89 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2624, allocations: 56.48 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.05006/0.3125, allocations: 56.83 MB / 0.5335 GB, free: 8.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03668/0.3493, allocations: 30.7 MB / 0.5635 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.351, allocations: 27.81 kB / 0.5635 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.3536, allocations: 0.6794 MB / 0.5642 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0201/0.3737, allocations: 5.708 MB / 0.5697 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01119/0.3849, allocations: 3.86 MB / 0.5735 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004338/0.3893, allocations: 3.055 MB / 0.5765 GB, free: 14.4 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.3905, allocations: 0.8208 MB / 0.5773 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01188/0.4024, allocations: 6.342 MB / 0.5835 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01329/0.4157, allocations: 7.425 MB / 0.5907 GB, free: 15.6 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003795/0.4161, allocations: 112 kB / 0.5908 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01747/0.4336, allocations: 8.381 MB / 0.599 GB, free: 7.098 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006153/0.4342, allocations: 398.8 kB / 0.5994 GB, free: 6.707 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009359/0.4352, allocations: 0.6806 MB / 0.6001 GB, free: 6.023 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.4495, allocations: 6.311 MB / 0.6062 GB, free: 15.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4495, allocations: 0 / 0.6062 GB, free: 15.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4496, allocations: 0 / 0.6062 GB, free: 15.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.343e-05/0.4496, allocations: 0 / 0.6062 GB, free: 15.7 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.00656/0.4561, allocations: 2.245 MB / 0.6084 GB, free: 13.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4562, allocations: 8.031 kB / 0.6084 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004756/0.461, allocations: 0.6239 MB / 0.609 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.4626, allocations: 0.815 MB / 0.6098 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.4628, allocations: 209.4 kB / 0.61 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.463, allocations: 100.1 kB / 0.6101 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003936/0.4669, allocations: 1.822 MB / 0.6119 GB, free: 9.629 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.467, allocations: 7.938 kB / 0.6119 GB, free: 9.621 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.4671, allocations: 47.98 kB / 0.612 GB, free: 9.574 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/0.4672, allocations: 46 kB / 0.612 GB, free: 9.527 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00395/0.4711, allocations: 1.639 MB / 0.6136 GB, free: 7.891 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.009602/0.4807, allocations: 8.566 MB / 0.622 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002863/0.4836, allocations: 0.9852 MB / 0.6229 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008033/0.4844, allocations: 418.1 kB / 0.6233 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2718/0.7562, allocations: 25.02 MB / 0.6478 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.738e-05/0.7563, allocations: 42.69 kB / 0.6478 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005961/0.7569, allocations: 92.5 kB / 0.6479 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 5.16e-06/0.757, allocations: 1.156 kB / 0.6479 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78): time 0.01136/0.7683, allocations: 3.455 MB / 0.6513 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.7684, allocations: 119.8 kB / 0.6514 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.7697, allocations: 0.8486 MB / 0.6522 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.75e-05/0.7698, allocations: 41.8 kB / 0.6523 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.7701, allocations: 0.5681 MB / 0.6528 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.7703, allocations: 277.8 kB / 0.6531 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/0.7707, allocations: 268.3 kB / 0.6533 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.7708, allocations: 410 kB / 0.6537 GB, free: 125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009407/0.7718, allocations: 430.4 kB / 0.6541 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.7731, allocations: 0.9931 MB / 0.6551 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.7753, allocations: 1.499 MB / 0.6566 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.7753, allocations: 5.562 kB / 0.6566 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004158/0.7795, allocations: 1.722 MB / 0.6583 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.7796, allocations: 15.19 kB / 0.6583 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-05/0.7796, allocations: 31.75 kB / 0.6583 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002691/0.7823, allocations: 0.5977 MB / 0.6589 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/0.7831, allocations: 243.4 kB / 0.6591 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.7854, allocations: 1.814 MB / 0.6609 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000979/0.7864, allocations: 71.64 kB / 0.661 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.7865, allocations: 76.53 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.0005386/0.7871, allocations: 337.5 kB / 0.6614 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/0.7874, allocations: 102.3 kB / 0.6615 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005877/0.7933, allocations: 4.447 MB / 0.6658 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-05/0.7933, allocations: 57.41 kB / 0.6658 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.7933, allocations: 0 / 0.6658 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.7934, allocations: 8.594 kB / 0.6659 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006884/0.8003, allocations: 6.262 MB / 0.672 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.8003, allocations: 0 / 0.672 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/0.8009, allocations: 152.8 kB / 0.6721 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.8024, allocations: 0.5352 MB / 0.6726 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/0.8025, allocations: 19.84 kB / 0.6727 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.8039, allocations: 1.793 MB / 0.6744 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.8039, allocations: 1.281 kB / 0.6744 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/0.809, allocations: 3.945 MB / 0.6783 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007332/0.8098, allocations: 351 kB / 0.6786 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.81, allocations: 43.5 kB / 0.6786 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/0.8105, allocations: 45.89 kB / 0.6787 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.8107, allocations: 84.17 kB / 0.6788 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.8107, allocations: 31.48 kB / 0.6788 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006955/0.8114, allocations: 0.6626 MB / 0.6794 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.32e-07/0.8114, allocations: 0 / 0.6794 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00366/0.8151, allocations: 1.436 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.004835/0.82, allocations: 1.601 MB / 0.6824 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002769/0.8228, allocations: 1.66 MB / 0.684 GB, free: 108 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.8228, allocations: 0 / 0.684 GB, free: 108 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.8242, allocations: 1.223 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.002527/0.8267, allocations: 0.541 MB / 0.6858 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/0.8309, allocations: 3.602 MB / 0.6893 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.8315, allocations: 1.383 MB / 0.6906 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001113/0.8326, allocations: 0.5947 MB / 0.6912 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.8328, allocations: 103.4 kB / 0.6913 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of SimCode: time 6.12e-07/0.8329, allocations: 4 kB / 0.6913 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.06476/0.8976, allocations: 60.76 MB / 0.7506 GB, free: 39.75 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)