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.001424/0.001424, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.481/1.481, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.3137/0.3137, allocations: 39.94 MB / 309.7 MB, free: 9.332 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.001478/0.001478, allocations: 67.89 kB / 377.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1216, allocations: 56.88 MB / 434.5 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.257/0.3787, allocations: 56.83 MB / 491.3 MB, free: 19.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02955/0.4083, allocations: 30.69 MB / 0.5098 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.4103, allocations: 29.66 kB / 0.5098 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002112/0.4124, allocations: 0.6636 MB / 0.5105 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02041/0.4328, allocations: 5.721 MB / 0.5161 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.011/0.4438, allocations: 3.865 MB / 0.5198 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004369/0.4482, allocations: 3.054 MB / 0.5228 GB, free: 7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.4495, allocations: 0.8203 MB / 0.5236 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01452/0.464, allocations: 6.312 MB / 0.5298 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01663/0.4807, allocations: 7.434 MB / 0.537 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005599/0.4813, allocations: 116.1 kB / 0.5371 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02006/0.5014, allocations: 8.193 MB / 0.5451 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007676/0.5022, allocations: 406.8 kB / 0.5455 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.5035, allocations: 0.6806 MB / 0.5462 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01927/0.5228, allocations: 6.307 MB / 0.5524 GB, free: 15.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.5229, allocations: 4 kB / 0.5524 GB, free: 15.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5229, allocations: 0 / 0.5524 GB, free: 15.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.5229, allocations: 0 / 0.5524 GB, free: 15.94 MB / 430.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.005402/0.5283, allocations: 2.242 MB / 0.5546 GB, free: 13.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.5284, allocations: 15.97 kB / 0.5546 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004617/0.533, allocations: 0.6278 MB / 0.5552 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.5343, allocations: 0.7566 MB / 0.5559 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.5345, allocations: 217.3 kB / 0.5561 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.5347, allocations: 96.38 kB / 0.5562 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004191/0.5389, allocations: 1.83 MB / 0.558 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.5389, allocations: 7.938 kB / 0.558 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.539, allocations: 48 kB / 0.5581 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.686e-05/0.5391, allocations: 45.92 kB / 0.5581 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004168/0.5433, allocations: 1.643 MB / 0.5597 GB, free: 8.172 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.01023/0.5535, allocations: 8.589 MB / 0.5681 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/0.5567, allocations: 0.9901 MB / 0.5691 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008996/0.5576, allocations: 420.5 kB / 0.5695 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04666/0.6043, allocations: 24.97 MB / 0.5938 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.462e-05/0.6044, allocations: 43.12 kB / 0.5939 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005826/0.6049, allocations: 90.95 kB / 0.594 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 2.856e-06/0.605, allocations: 0 / 0.594 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.01003/0.615, allocations: 3.459 MB / 0.5974 GB, free: 13.19 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.6151, allocations: 115.5 kB / 0.5975 GB, free: 13.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.6162, allocations: 0.8565 MB / 0.5983 GB, free: 12.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.568e-05/0.6163, allocations: 37.7 kB / 0.5983 GB, free: 12.14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.6167, allocations: 0.5601 MB / 0.5989 GB, free: 11.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.6169, allocations: 288 kB / 0.5992 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/0.6173, allocations: 270.5 kB / 0.5994 GB, free: 11.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.6175, allocations: 410.7 kB / 0.5998 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009199/0.6184, allocations: 434.3 kB / 0.6002 GB, free: 10.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.6197, allocations: 0.997 MB / 0.6012 GB, free: 8.914 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.622, allocations: 1.49 MB / 0.6027 GB, free: 7.156 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.6221, allocations: 4 kB / 0.6027 GB, free: 7.152 MB / 478.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003427/0.6255, allocations: 1.736 MB / 0.6044 GB, free: 5.402 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.6255, allocations: 12 kB / 0.6044 GB, free: 5.391 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.6256, allocations: 20 kB / 0.6044 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/0.6282, allocations: 0.5911 MB / 0.605 GB, free: 4.773 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007323/0.6289, allocations: 247.6 kB / 0.6052 GB, free: 4.531 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.6312, allocations: 1.83 MB / 0.607 GB, free: 2.648 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000897/0.6321, allocations: 72.03 kB / 0.6071 GB, free: 2.578 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.6322, allocations: 75.98 kB / 0.6071 GB, free: 2.504 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.0005186/0.6327, allocations: 343.4 kB / 0.6075 GB, free: 2.156 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.633, allocations: 106.7 kB / 0.6076 GB, free: 2.051 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00544/0.6384, allocations: 4.457 MB / 0.6119 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.575e-05/0.6385, allocations: 63.84 kB / 0.612 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6385, allocations: 0 / 0.612 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.6385, allocations: 3.984 kB / 0.612 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007196/0.6457, allocations: 6.262 MB / 0.6181 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.6457, allocations: 7.984 kB / 0.6181 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/0.6463, allocations: 151.8 kB / 0.6182 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/0.6478, allocations: 0.5343 MB / 0.6188 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/0.6478, allocations: 28 kB / 0.6188 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.6495, allocations: 1.788 MB / 0.6205 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6495, allocations: 0 / 0.6205 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005059/0.6546, allocations: 3.943 MB / 0.6244 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.6551, allocations: 358.2 kB / 0.6247 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.6553, allocations: 35.78 kB / 0.6248 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/0.6558, allocations: 47.95 kB / 0.6248 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.656, allocations: 76.89 kB / 0.6249 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/0.6561, allocations: 36.05 kB / 0.6249 GB, free: 0 / 494.1 MB Notification: Performance of sorting global known variables: time 0.1833/0.8394, allocations: 0.6597 MB / 0.6256 GB, free: 154 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8394, allocations: 0 / 0.6256 GB, free: 154 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004479/0.8439, allocations: 1.437 MB / 0.627 GB, free: 154 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.006005/0.8499, allocations: 1.587 MB / 0.6285 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004441/0.8544, allocations: 1.788 MB / 0.6303 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8544, allocations: 0 / 0.6303 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.8559, allocations: 1.215 MB / 0.6314 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.002739/0.8587, allocations: 0.5521 MB / 0.632 GB, free: 153.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.863, allocations: 3.658 MB / 0.6356 GB, free: 152 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.8636, allocations: 1.39 MB / 0.6369 GB, free: 151.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001118/0.8648, allocations: 0.5869 MB / 0.6375 GB, free: 151.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.8649, allocations: 101.7 kB / 0.6376 GB, free: 151.2 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.865, allocations: 0 / 0.6376 GB, free: 151.2 MB / 494.1 MB Notification: Performance of Templates: time 0.08082/0.9458, allocations: 59.98 MB / 0.6962 GB, free: 118.4 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)