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.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001123/0.001123, allocations: 197 kB / 16.14 MB, free: 6.703 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.358/1.358, allocations: 205.1 MB / 222 MB, free: 5 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.2721/0.2721, allocations: 37.98 MB / 307.3 MB, free: 9.832 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.001335/0.001336, allocations: 72.53 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1044, allocations: 56.46 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.212/0.3165, allocations: 58.21 MB / 489.2 MB, free: 20.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02929/0.3458, allocations: 31.93 MB / 0.509 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.3477, allocations: 39.91 kB / 0.509 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.3499, allocations: 0.5864 MB / 0.5096 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01782/0.3677, allocations: 4.725 MB / 0.5142 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01201/0.3797, allocations: 3.352 MB / 0.5175 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006662/0.3864, allocations: 4.175 MB / 0.5215 GB, free: 8.289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.3881, allocations: 0.72 MB / 0.5222 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02152/0.4097, allocations: 6.163 MB / 0.5283 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02621/0.4359, allocations: 7.451 MB / 0.5355 GB, free: 404 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009437/0.437, allocations: 67.25 kB / 0.5356 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02556/0.4625, allocations: 8.234 MB / 0.5436 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008537/0.4634, allocations: 354.8 kB / 0.544 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001963/0.4654, allocations: 0.6337 MB / 0.5446 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01992/0.4854, allocations: 6.295 MB / 0.5507 GB, free: 3.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.4854, allocations: 0 / 0.5507 GB, free: 3.082 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.4855, allocations: 0 / 0.5507 GB, free: 3.082 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.635e-05/0.4855, allocations: 0 / 0.5507 GB, free: 3.082 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.007301/0.4928, allocations: 2.241 MB / 0.5529 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.4929, allocations: 11.97 kB / 0.5529 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/0.4982, allocations: 0.6239 MB / 0.5536 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/0.5003, allocations: 0.7721 MB / 0.5543 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.5006, allocations: 209.3 kB / 0.5545 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/0.5009, allocations: 104.4 kB / 0.5546 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00459/0.5055, allocations: 1.822 MB / 0.5564 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.97e-05/0.5056, allocations: 3.938 kB / 0.5564 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.5058, allocations: 51.98 kB / 0.5564 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.849e-05/0.5058, allocations: 41.98 kB / 0.5565 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004434/0.5103, allocations: 1.643 MB / 0.5581 GB, free: 11.31 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.01062/0.5209, allocations: 8.559 MB / 0.5664 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003137/0.5241, allocations: 0.9927 MB / 0.5674 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008477/0.525, allocations: 410.9 kB / 0.5678 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04384/0.5688, allocations: 24.98 MB / 0.5922 GB, free: 4.047 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.331e-05/0.569, allocations: 43.12 kB / 0.5922 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001056/0.57, allocations: 114.9 kB / 0.5923 GB, free: 3.879 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 6.092e-06/0.57, allocations: 0 / 0.5923 GB, free: 3.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.01204/0.5821, allocations: 3.46 MB / 0.5957 GB, free: 352 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.67e-05/0.5822, allocations: 111.5 kB / 0.5958 GB, free: 212 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.5837, allocations: 0.8487 MB / 0.5967 GB, free: 15.35 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.5838, allocations: 41.7 kB / 0.5967 GB, free: 15.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/0.5843, allocations: 0.5679 MB / 0.5973 GB, free: 14.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.5846, allocations: 280.1 kB / 0.5975 GB, free: 14.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003926/0.585, allocations: 266.5 kB / 0.5978 GB, free: 14.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.5852, allocations: 414.7 kB / 0.5982 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009146/0.5862, allocations: 422.4 kB / 0.5986 GB, free: 13.35 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.5876, allocations: 1.001 MB / 0.5995 GB, free: 12.08 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.5901, allocations: 1.494 MB / 0.601 GB, free: 10.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-05/0.5901, allocations: 4 kB / 0.601 GB, free: 10.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003716/0.5939, allocations: 1.729 MB / 0.6027 GB, free: 8.578 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.5939, allocations: 12 kB / 0.6027 GB, free: 8.566 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/0.594, allocations: 23.98 kB / 0.6027 GB, free: 8.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002806/0.5968, allocations: 0.5952 MB / 0.6033 GB, free: 7.941 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008025/0.5976, allocations: 247.6 kB / 0.6036 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.5999, allocations: 1.819 MB / 0.6053 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.6011, allocations: 115.8 kB / 0.6054 GB, free: 5.715 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.6012, allocations: 79.98 kB / 0.6055 GB, free: 5.637 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.0005882/0.6018, allocations: 335.5 kB / 0.6058 GB, free: 5.301 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.6021, allocations: 110.7 kB / 0.6059 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005812/0.6079, allocations: 4.457 MB / 0.6103 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.992e-05/0.608, allocations: 67.83 kB / 0.6104 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.608, allocations: 0 / 0.6104 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.608, allocations: 3.984 kB / 0.6104 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007891/0.6159, allocations: 6.262 MB / 0.6165 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.616, allocations: 4 kB / 0.6165 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/0.6166, allocations: 143.8 kB / 0.6166 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/0.6184, allocations: 0.6594 MB / 0.6173 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.51e-05/0.6185, allocations: 23.98 kB / 0.6173 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.6201, allocations: 1.8 MB / 0.619 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6201, allocations: 0 / 0.619 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005365/0.6255, allocations: 3.947 MB / 0.6229 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000648/0.6262, allocations: 358.2 kB / 0.6232 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002583/0.6264, allocations: 35.77 kB / 0.6233 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008723/0.6273, allocations: 83.78 kB / 0.6234 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.6275, allocations: 72.89 kB / 0.6234 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.06e-05/0.6276, allocations: 39.98 kB / 0.6235 GB, free: 2.965 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001047/0.6286, allocations: 0.6588 MB / 0.6241 GB, free: 2.297 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6287, allocations: 0 / 0.6241 GB, free: 2.297 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00453/0.6332, allocations: 1.445 MB / 0.6255 GB, free: 0.8516 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.1844/0.8176, allocations: 1.578 MB / 0.6271 GB, free: 155.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003178/0.8208, allocations: 1.671 MB / 0.6287 GB, free: 155.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.8208, allocations: 0 / 0.6287 GB, free: 155.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.8226, allocations: 1.209 MB / 0.6299 GB, free: 155.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.8252, allocations: 0.5215 MB / 0.6304 GB, free: 155.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00552/0.8307, allocations: 4.408 MB / 0.6347 GB, free: 152.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007722/0.8316, allocations: 1.393 MB / 0.636 GB, free: 152.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00139/0.833, allocations: 0.5883 MB / 0.6366 GB, free: 152.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.8332, allocations: 97.69 kB / 0.6367 GB, free: 152.1 MB / 494.1 MB Notification: Performance of SimCode: time 8.02e-07/0.8332, allocations: 0 / 0.6367 GB, free: 152.1 MB / 494.1 MB Notification: Performance of Templates: time 0.08859/0.9218, allocations: 58.6 MB / 0.6939 GB, free: 124.4 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)