Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00165/0.00165, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.497/1.497, allocations: 194.3 MB / 207.5 MB, free: 3.387 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001666/0.001666, allocations: 110.2 kB / 252.6 MB, free: 4.797 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1936/0.1936, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.051e-05, allocations: 7.984 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 54.85 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.373/6.478, allocations: 2.67 GB / 3.115 GB, free: 92.16 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/6.479, allocations: 80.75 kB / 3.115 GB, free: 92.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829/11.31, allocations: 1.021 GB / 4.136 GB, free: 30.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.148e-06/11.31, allocations: 2.406 kB / 4.136 GB, free: 30.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005009/11.31, allocations: 76.56 kB / 4.136 GB, free: 30.52 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.0226/11.33, allocations: 4.381 MB / 4.14 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/11.33, allocations: 13.72 kB / 4.14 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009348/11.34, allocations: 1.037 MB / 4.141 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009135/11.35, allocations: 2.232 MB / 4.143 GB, free: 27.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005509/11.35, allocations: 279.3 kB / 4.144 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001825/11.35, allocations: 237.4 kB / 4.144 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01522/11.37, allocations: 4.449 MB / 4.148 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000172/11.37, allocations: 9.406 kB / 4.148 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/11.37, allocations: 113.1 kB / 4.148 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003018/11.37, allocations: 219 kB / 4.149 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/11.38, allocations: 4.035 MB / 4.153 GB, free: 27.11 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.04033/11.42, allocations: 19.04 MB / 4.171 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007363/11.43, allocations: 2.661 MB / 4.174 GB, free: 16.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002672/11.43, allocations: 1.297 MB / 4.175 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03575/11.47, allocations: 17.07 MB / 4.192 GB, free: 21.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.251e-05/11.47, allocations: 62.53 kB / 4.192 GB, free: 21.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002817/11.47, allocations: 361.6 kB / 4.192 GB, free: 21.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=181): time 1.356e-05/11.47, allocations: 0 / 4.192 GB, free: 21.18 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p 2: tank.medium.h 3: pipe.mediums[2].p 4: pipe.mediums[1].p 5: radiator.mediums[1].p 6: pump.medium.h 7: heater.mediums[1].p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=283): time 0.5053/11.98, allocations: 62.19 MB / 4.253 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.791/12.77, allocations: 87.1 MB / 4.338 GB, free: 55.89 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003785/12.77, allocations: 1.668 MB / 4.34 GB, free: 55.68 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001124/12.77, allocations: 73.33 kB / 4.34 GB, free: 55.65 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/12.77, allocations: 1.17 MB / 4.341 GB, free: 55.28 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/12.77, allocations: 0.9454 MB / 4.342 GB, free: 54.72 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/12.77, allocations: 58.84 kB / 4.342 GB, free: 54.72 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002081/12.77, allocations: 423.5 kB / 4.342 GB, free: 54.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004039/12.78, allocations: 2.567 MB / 4.345 GB, free: 54.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004299/12.78, allocations: 3.138 MB / 4.348 GB, free: 53.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005479/12.79, allocations: 2.989 MB / 4.351 GB, free: 53.74 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/12.79, allocations: 7.125 kB / 4.351 GB, free: 53.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01402/12.8, allocations: 8.641 MB / 4.359 GB, free: 53.45 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001302/12.8, allocations: 6.082 MB / 4.365 GB, free: 47.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/12.8, allocations: 13.81 kB / 4.365 GB, free: 47.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0638/12.87, allocations: 16.37 MB / 4.381 GB, free: 46.24 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/12.87, allocations: 386.1 kB / 4.381 GB, free: 46.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/12.89, allocations: 10.07 MB / 4.391 GB, free: 45.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005975/12.89, allocations: 415.1 kB / 4.392 GB, free: 45.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008613/12.89, allocations: 181.8 kB / 4.392 GB, free: 45.01 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/12.89, allocations: 3.812 kB / 4.392 GB, free: 45.01 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01412/12.91, allocations: 7.97 MB / 4.4 GB, free: 41.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.635e-05/12.91, allocations: 16 kB / 4.4 GB, free: 41.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02949/12.94, allocations: 8.853 MB / 4.408 GB, free: 35.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/12.94, allocations: 446.9 kB / 4.409 GB, free: 35.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/12.96, allocations: 9.062 MB / 4.418 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00638/12.96, allocations: 400.3 kB / 4.418 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/12.96, allocations: 173.4 kB / 4.418 GB, free: 30.01 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 19 (radiator.state_b.phase,radiator.state_a.phase,heater.state_b.phase,heater.state_a.phase,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 79,17 85} Notification: Performance of prepare postOptimizeDAE: time 0.001494/12.96, allocations: 270.7 kB / 4.418 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/12.97, allocations: 260.8 kB / 4.419 GB, free: 29.59 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02277/12.99, allocations: 17.22 MB / 4.435 GB, free: 17.28 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001122/12.99, allocations: 117.3 kB / 4.435 GB, free: 17.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/12.99, allocations: 0 / 4.435 GB, free: 17.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01826/13.01, allocations: 15.4 MB / 4.451 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6185/13.63, allocations: 27.39 MB / 4.477 GB, free: 71.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-05/13.63, allocations: 6.938 kB / 4.477 GB, free: 71.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/13.63, allocations: 227.9 kB / 4.478 GB, free: 71.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0769/13.7, allocations: 26.61 MB / 4.503 GB, free: 70.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001278/13.71, allocations: 104.9 kB / 4.504 GB, free: 70.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02305/13.73, allocations: 15.5 MB / 4.519 GB, free: 69.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2944/14.02, allocations: 144.6 MB / 4.66 GB, free: 8.703 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6618/14.68, allocations: 24.55 MB / 4.684 GB, free: 86.05 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004304/14.69, allocations: 1.151 MB / 4.685 GB, free: 85.96 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001152/14.69, allocations: 66.22 kB / 4.685 GB, free: 85.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00435/14.69, allocations: 428.3 kB / 4.685 GB, free: 85.96 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007193/14.7, allocations: 269.6 kB / 4.686 GB, free: 85.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004403/14.7, allocations: 136.2 kB / 4.686 GB, free: 85.96 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002653/14.7, allocations: 1.326 MB / 4.687 GB, free: 85.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.11e-07/14.7, allocations: 0 / 4.687 GB, free: 85.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03749/14.74, allocations: 7.23 MB / 4.694 GB, free: 85.68 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 60 ($cse85.phase,$cse85.region,$cse88.phase,$cse88.region,$cse89.phase,$cse89.region,$cse91.phase,$cse91.region,$cse93.phase,$cse93.region,$cse94.region3boundary,$cse95.region3boundary,$cse96.phase,$cse96.region,$cse97.phase,$cse97.region,$cse101.phase,$cse101.region,$cse102.phase,$cse102.region,$cse105.phase,$cse105.region,$cse106.phase,$cse106.region,$cse107.region3boundary,$cse108.region3boundary,$cse109.phase,$cse109.region,$cse119.phase,$cse119.region,$cse120.phase,$cse120.region,$cse121.region3boundary,$cse122.region3boundary,$cse123.phase,$cse123.region,$cse130.phase,$cse130.region,$cse131.phase,$cse131.region,$cse132.phase,$cse132.region,$cse133.region3boundary,$cse134.region3boundary,$cse135.phase,$cse135.region,$cse136.region3boundary,$cse137.region3boundary,$cse138.phase,$cse138.region,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 82,19 121} Notification: Performance of Backend phase and start with SimCode phase: time 0.0518/14.79, allocations: 5.728 MB / 4.7 GB, free: 84.89 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02995/14.82, allocations: 11.85 MB / 4.711 GB, free: 84.69 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.288e-05/14.82, allocations: 7 kB / 4.711 GB, free: 84.68 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01438/14.83, allocations: 5.672 MB / 4.717 GB, free: 84.57 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/14.84, allocations: 1.073 MB / 4.718 GB, free: 84.55 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/14.87, allocations: 12.01 MB / 4.73 GB, free: 82.11 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003611/14.88, allocations: 3.019 MB / 4.733 GB, free: 81.28 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.008563/14.88, allocations: 2.118 MB / 4.735 GB, free: 81.21 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002098/14.89, allocations: 278 kB / 4.735 GB, free: 81.21 MB / 0.573 GB Notification: Performance of SimCode: time 3.146e-06/14.89, allocations: 1.531 kB / 4.735 GB, free: 81.21 MB / 0.573 GB Notification: Performance of Templates: time 1.048/15.94, allocations: 312.4 MB / 5.04 GB, free: 46.05 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe 2>&1)