Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.TestMixingVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005994/0.005994, allocations: 98.91 kB / 15.73 MB, free: 5.984 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.001399/0.001399, allocations: 197.8 kB / 16.68 MB, free: 5.922 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.37/1.37, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3022/0.3022, allocations: 39.94 MB / 309.8 MB, free: 9.457 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.001578/0.001578, allocations: 72.33 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2776, allocations: 56.88 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01503/0.2927, allocations: 17.61 MB / 0.4983 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007392/0.3001, allocations: 7.004 MB / 0.5051 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009098/0.3011, allocations: 20.88 kB / 0.5052 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.3021, allocations: 385.4 kB / 0.5055 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.3035, allocations: 0.6635 MB / 0.5062 GB, free: 364 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.3069, allocations: 1.338 MB / 0.5075 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003068/0.31, allocations: 2.498 MB / 0.5099 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009761/0.311, allocations: 0.6731 MB / 0.5106 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.313, allocations: 1.036 MB / 0.5116 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.3147, allocations: 0.7569 MB / 0.5123 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.3149, allocations: 88.41 kB / 0.5124 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.317, allocations: 0.5371 MB / 0.5129 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004655/0.3175, allocations: 361.5 kB / 0.5133 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007357/0.3182, allocations: 0.5168 MB / 0.5138 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.3203, allocations: 1.535 MB / 0.5153 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3203, allocations: 0.9375 kB / 0.5153 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3203, allocations: 0 / 0.5153 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.3204, allocations: 0 / 0.5153 GB, free: 10.68 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002699/0.3231, allocations: 1.286 MB / 0.5166 GB, free: 9.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3231, allocations: 13.48 kB / 0.5166 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004869/0.3236, allocations: 124.5 kB / 0.5167 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.3247, allocations: 0.6272 MB / 0.5173 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.3249, allocations: 251.8 kB / 0.5175 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.325, allocations: 79.97 kB / 0.5176 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.3269, allocations: 1.308 MB / 0.5189 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.327, allocations: 7.469 kB / 0.5189 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.3271, allocations: 40.56 kB / 0.5189 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-05/0.3272, allocations: 38.42 kB / 0.519 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.3287, allocations: 0.9676 MB / 0.5199 GB, free: 7.422 MB / 398.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.006527/0.3353, allocations: 7.078 MB / 0.5268 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.3358, allocations: 308.1 kB / 0.5271 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.3361, allocations: 177.4 kB / 0.5273 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002469/0.3385, allocations: 2.818 MB / 0.53 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.3386, allocations: 42.73 kB / 0.5301 GB, free: 12.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.784e-06/0.3386, allocations: 0 / 0.5301 GB, free: 12.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002178/0.3408, allocations: 1.106 MB / 0.5312 GB, free: 11.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.3408, allocations: 55.41 kB / 0.5312 GB, free: 11.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000938/0.3418, allocations: 0.8682 MB / 0.5321 GB, free: 10.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.3418, allocations: 33.7 kB / 0.5321 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.3422, allocations: 0.582 MB / 0.5327 GB, free: 10.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.962e-05/0.3423, allocations: 142.2 kB / 0.5328 GB, free: 10 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.3425, allocations: 234.5 kB / 0.533 GB, free: 9.766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3427, allocations: 402.7 kB / 0.5334 GB, free: 9.363 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.343, allocations: 242.5 kB / 0.5336 GB, free: 9.129 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007596/0.3438, allocations: 0.9739 MB / 0.5346 GB, free: 7.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.345, allocations: 1.307 MB / 0.5359 GB, free: 6.125 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.3451, allocations: 8 kB / 0.5359 GB, free: 6.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001663/0.3467, allocations: 1.211 MB / 0.5371 GB, free: 4.898 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.3468, allocations: 19.94 kB / 0.5371 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.3468, allocations: 28 kB / 0.5371 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/0.3468, allocations: 32 kB / 0.5371 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007384/0.3476, allocations: 276.2 kB / 0.5374 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-05/0.3476, allocations: 55.78 kB / 0.5375 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006522/0.3483, allocations: 52 kB / 0.5375 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-05/0.3484, allocations: 79.98 kB / 0.5376 GB, free: 4.367 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],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 (154): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003691/0.3488, allocations: 329.1 kB / 0.5379 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.3489, allocations: 90.95 kB / 0.538 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008116/0.3497, allocations: 475.3 kB / 0.5384 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3497, allocations: 4 kB / 0.5384 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.3498, allocations: 4 kB / 0.5384 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3498, allocations: 3.984 kB / 0.5384 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.3513, allocations: 1.236 MB / 0.5397 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3513, allocations: 4 kB / 0.5397 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.3516, allocations: 79.83 kB / 0.5397 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3516, allocations: 4 kB / 0.5397 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.3517, allocations: 8 kB / 0.5397 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3517, allocations: 4 kB / 0.5397 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3517, allocations: 4.125 kB / 0.5397 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008182/0.3525, allocations: 0.6407 MB / 0.5404 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.3528, allocations: 207.9 kB / 0.5406 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-05/0.3529, allocations: 8 kB / 0.5406 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.3533, allocations: 19.98 kB / 0.5406 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.3533, allocations: 27.91 kB / 0.5406 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.3534, allocations: 23.98 kB / 0.5406 GB, free: 1.031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000666/0.354, allocations: 0.5969 MB / 0.5412 GB, free: 432 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.354, allocations: 3.938 kB / 0.5412 GB, free: 428 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001012/0.3551, allocations: 299.9 kB / 0.5415 GB, free: 128 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006319/0.3557, allocations: 328.4 kB / 0.5418 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009022/0.3566, allocations: 0.6414 MB / 0.5425 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3566, allocations: 4 kB / 0.5425 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.3569, allocations: 147.8 kB / 0.5426 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.3587, allocations: 434 kB / 0.543 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.3606, allocations: 1.463 MB / 0.5444 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.3611, allocations: 1.001 MB / 0.5454 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007914/0.3619, allocations: 308.5 kB / 0.5457 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.3621, allocations: 75.42 kB / 0.5458 GB, free: 11.68 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3621, allocations: 0 / 0.5458 GB, free: 11.68 MB / 430.1 MB Notification: Performance of Templates: time 0.02942/0.3915, allocations: 16.29 MB / 0.5617 GB, free: 11.39 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1)