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.001349/0.001349, 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.001325/0.001325, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.375/1.375, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.2861/0.2861, allocations: 37.98 MB / 307.4 MB, free: 10.08 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.00152/0.00152, allocations: 72.12 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1162, allocations: 56.47 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2452/0.3615, allocations: 57.39 MB / 488.6 MB, free: 21.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03167/0.3932, allocations: 30.81 MB / 0.5072 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002164/0.3955, allocations: 38.56 kB / 0.5073 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.3984, allocations: 0.6046 MB / 0.5079 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01845/0.4169, allocations: 5.099 MB / 0.5129 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01518/0.4321, allocations: 3.544 MB / 0.5163 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007398/0.4395, allocations: 3.055 MB / 0.5193 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/0.442, allocations: 0.8223 MB / 0.5201 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01736/0.4594, allocations: 6.304 MB / 0.5263 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01631/0.4758, allocations: 7.482 MB / 0.5336 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004363/0.4763, allocations: 117.9 kB / 0.5337 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0173/0.4936, allocations: 8.276 MB / 0.5418 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009567/0.4946, allocations: 402.8 kB / 0.5421 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.4964, allocations: 0.6845 MB / 0.5428 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02043/0.5168, allocations: 6.326 MB / 0.549 GB, free: 4.812 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.905e-05/0.5169, allocations: 4 kB / 0.549 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.982e-06/0.5169, allocations: 0 / 0.549 GB, free: 4.809 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.962e-05/0.517, allocations: 0 / 0.549 GB, free: 4.809 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.007726/0.5247, allocations: 2.245 MB / 0.5512 GB, free: 2.512 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.5248, allocations: 8.031 kB / 0.5512 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005002/0.5298, allocations: 0.6254 MB / 0.5518 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.5313, allocations: 0.776 MB / 0.5526 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.5316, allocations: 209.3 kB / 0.5528 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.5318, allocations: 104.4 kB / 0.5529 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004193/0.536, allocations: 1.81 MB / 0.5546 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.536, allocations: 3.938 kB / 0.5546 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.5362, allocations: 51.91 kB / 0.5547 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-05/0.5362, allocations: 53.92 kB / 0.5547 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00397/0.5402, allocations: 1.639 MB / 0.5563 GB, free: 13.04 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.009958/0.5502, allocations: 8.552 MB / 0.5647 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003049/0.5533, allocations: 0.9965 MB / 0.5657 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008047/0.5541, allocations: 420.6 kB / 0.5661 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04392/0.598, allocations: 24.98 MB / 0.5904 GB, free: 5.766 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.476e-05/0.5982, allocations: 51.06 kB / 0.5905 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001036/0.5993, allocations: 98.92 kB / 0.5906 GB, free: 5.609 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 4.619e-06/0.5993, allocations: 0 / 0.5906 GB, free: 5.609 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.01095/0.6102, allocations: 3.447 MB / 0.594 GB, free: 2.078 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.6103, allocations: 115.5 kB / 0.5941 GB, free: 1.938 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.6115, allocations: 0.8565 MB / 0.5949 GB, free: 1.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.858e-05/0.6116, allocations: 41.7 kB / 0.5949 GB, free: 1.023 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.612, allocations: 0.5679 MB / 0.5955 GB, free: 456 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.6122, allocations: 276.1 kB / 0.5958 GB, free: 176 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/0.6126, allocations: 266.5 kB / 0.596 GB, free: 15.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.6128, allocations: 410.7 kB / 0.5964 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00091/0.6137, allocations: 434.3 kB / 0.5968 GB, free: 15.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.615, allocations: 0.9969 MB / 0.5978 GB, free: 13.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.6173, allocations: 1.494 MB / 0.5993 GB, free: 12.05 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.6173, allocations: 4 kB / 0.5993 GB, free: 12.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003471/0.6208, allocations: 1.728 MB / 0.6009 GB, free: 10.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.6209, allocations: 12.19 kB / 0.601 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.6209, allocations: 24 kB / 0.601 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002602/0.6235, allocations: 0.6065 MB / 0.6016 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007278/0.6242, allocations: 247.6 kB / 0.6018 GB, free: 9.414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.6264, allocations: 1.815 MB / 0.6036 GB, free: 7.547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.6276, allocations: 123.8 kB / 0.6037 GB, free: 7.426 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.6277, allocations: 75.98 kB / 0.6038 GB, free: 7.352 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.0005464/0.6283, allocations: 339.6 kB / 0.6041 GB, free: 7.012 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.6285, allocations: 110.7 kB / 0.6042 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005581/0.6341, allocations: 4.451 MB / 0.6085 GB, free: 2.406 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.495e-05/0.6342, allocations: 63.84 kB / 0.6086 GB, free: 2.344 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.6342, allocations: 4 kB / 0.6086 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.6343, allocations: 3.984 kB / 0.6086 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008066/0.6423, allocations: 6.258 MB / 0.6147 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.6424, allocations: 7.938 kB / 0.6147 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.643, allocations: 151.8 kB / 0.6149 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/0.6447, allocations: 0.5423 MB / 0.6154 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.418e-05/0.6448, allocations: 23.98 kB / 0.6154 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.6467, allocations: 1.792 MB / 0.6172 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.6467, allocations: 0 / 0.6172 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005425/0.6521, allocations: 3.943 MB / 0.621 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009624/0.6531, allocations: 358.2 kB / 0.6214 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.6533, allocations: 43.72 kB / 0.6214 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007035/0.6541, allocations: 75.84 kB / 0.6215 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.6542, allocations: 68.89 kB / 0.6216 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.517e-05/0.6543, allocations: 35.98 kB / 0.6216 GB, free: 4.816 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008913/0.6552, allocations: 0.6627 MB / 0.6222 GB, free: 4.145 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6552, allocations: 0 / 0.6222 GB, free: 4.145 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004816/0.66, allocations: 1.448 MB / 0.6237 GB, free: 2.695 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.006486/0.6665, allocations: 1.605 MB / 0.6252 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2109/0.8774, allocations: 1.781 MB / 0.627 GB, free: 156.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.8775, allocations: 2.094 kB / 0.627 GB, free: 156.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.8791, allocations: 1.213 MB / 0.6281 GB, free: 156.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/0.8818, allocations: 0.5327 MB / 0.6287 GB, free: 156.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005471/0.8873, allocations: 4.427 MB / 0.633 GB, free: 153.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007273/0.8881, allocations: 1.384 MB / 0.6343 GB, free: 153.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001341/0.8894, allocations: 0.5927 MB / 0.6349 GB, free: 153.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.8897, allocations: 98.66 kB / 0.635 GB, free: 153.2 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.8897, allocations: 0 / 0.635 GB, free: 153.2 MB / 494.1 MB Notification: Performance of Templates: time 0.08779/0.9775, allocations: 59.77 MB / 0.6934 GB, free: 124.8 MB / 494.1 MB 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)