Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001351/0.001351, allocations: 170.1 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.493/1.493, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001873/0.001873, allocations: 102.8 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2226/0.2226, allocations: 38.01 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.422e-05/4.424e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1188, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.271/6.39, allocations: 2.56 GB / 2.956 GB, free: 126.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/6.39, allocations: 80.81 kB / 2.956 GB, free: 126.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.209/9.599, allocations: 0.9957 GB / 3.951 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/9.599, allocations: 0 / 3.951 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002029/9.599, allocations: 74.67 kB / 3.952 GB, free: 0.5781 MB / 490.7 MB 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.3279/9.927, allocations: 4.257 MB / 3.956 GB, free: 30.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/9.927, allocations: 7.594 kB / 3.956 GB, free: 30.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008096/9.935, allocations: 0.9802 MB / 3.957 GB, free: 30.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006008/9.941, allocations: 2.241 MB / 3.959 GB, free: 29.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/9.942, allocations: 278.4 kB / 3.959 GB, free: 29.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006085/9.942, allocations: 238.3 kB / 3.959 GB, free: 29.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008658/9.951, allocations: 4.453 MB / 3.964 GB, free: 28.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.689e-05/9.951, allocations: 6.469 kB / 3.964 GB, free: 28.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003249/9.951, allocations: 113.1 kB / 3.964 GB, free: 28.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002444/9.952, allocations: 220.2 kB / 3.964 GB, free: 28.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008464/9.96, allocations: 4.034 MB / 3.968 GB, free: 28.86 MB / 490.7 MB 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.02032/9.98, allocations: 19.03 MB / 3.987 GB, free: 17.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00485/9.985, allocations: 2.681 MB / 3.989 GB, free: 17.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/9.987, allocations: 1.299 MB / 3.99 GB, free: 17.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02865/10.02, allocations: 17.05 MB / 4.007 GB, free: 23.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/10.02, allocations: 54.34 kB / 4.007 GB, free: 23.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001921/10.02, allocations: 358 kB / 4.007 GB, free: 23.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=181): time 4.218e-06/10.02, allocations: 0 / 4.007 GB, free: 23.21 MB / 0.4948 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.5067/10.52, allocations: 62.17 MB / 4.068 GB, free: 19.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.597/11.12, allocations: 88.08 MB / 4.154 GB, free: 46.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/11.12, allocations: 1.674 MB / 4.156 GB, free: 45.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006323/11.12, allocations: 74.48 kB / 4.156 GB, free: 45.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006723/11.13, allocations: 1.171 MB / 4.157 GB, free: 45.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008142/11.13, allocations: 0.9411 MB / 4.158 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/11.13, allocations: 57.94 kB / 4.158 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001369/11.13, allocations: 429 kB / 4.158 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003386/11.13, allocations: 2.568 MB / 4.161 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003879/11.13, allocations: 3.133 MB / 4.164 GB, free: 44.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005107/11.14, allocations: 2.996 MB / 4.167 GB, free: 44.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/11.14, allocations: 6.781 kB / 4.167 GB, free: 44.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01427/11.15, allocations: 8.637 MB / 4.175 GB, free: 43.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001112/11.15, allocations: 6.081 MB / 4.181 GB, free: 37.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/11.15, allocations: 17.88 kB / 4.181 GB, free: 37.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06412/11.22, allocations: 16.35 MB / 4.197 GB, free: 37.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/11.22, allocations: 385 kB / 4.198 GB, free: 37.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/11.24, allocations: 10.07 MB / 4.207 GB, free: 36.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005117/11.24, allocations: 408.3 kB / 4.208 GB, free: 36.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005239/11.24, allocations: 180 kB / 4.208 GB, free: 36.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/11.24, allocations: 2.906 kB / 4.208 GB, free: 36.01 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0129/11.26, allocations: 7.979 MB / 4.216 GB, free: 35.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.037e-05/11.26, allocations: 15.97 kB / 4.216 GB, free: 35.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03015/11.29, allocations: 8.853 MB / 4.225 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002217/11.29, allocations: 445.7 kB / 4.225 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/11.3, allocations: 9.065 MB / 4.234 GB, free: 34.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004853/11.31, allocations: 400.9 kB / 4.234 GB, free: 34.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007485/11.31, allocations: 175.4 kB / 4.234 GB, free: 34.59 MB / 0.5105 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.00141/11.31, allocations: 271.8 kB / 4.235 GB, free: 34.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009077/11.31, allocations: 259.6 kB / 4.235 GB, free: 34.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02133/11.33, allocations: 17.21 MB / 4.252 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.882e-05/11.33, allocations: 120.7 kB / 4.252 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/11.33, allocations: 0 / 4.252 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01686/11.35, allocations: 15.42 MB / 4.267 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03592/11.39, allocations: 27.16 MB / 4.293 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/11.39, allocations: 0 / 4.293 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/11.39, allocations: 229.5 kB / 4.294 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06937/11.46, allocations: 27.07 MB / 4.32 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009326/11.46, allocations: 105.2 kB / 4.32 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3711/11.83, allocations: 15.5 MB / 4.335 GB, free: 59.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2523/12.08, allocations: 144.6 MB / 4.476 GB, free: 32.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02474/12.11, allocations: 22.34 MB / 4.498 GB, free: 17.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003052/12.11, allocations: 1.155 MB / 4.499 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/12.11, allocations: 56 kB / 4.499 GB, free: 16.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0044/12.11, allocations: 431.8 kB / 4.5 GB, free: 16.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007121/12.11, allocations: 268.8 kB / 4.5 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003932/12.11, allocations: 138.2 kB / 4.5 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00199/12.12, allocations: 1.331 MB / 4.502 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/12.12, allocations: 0 / 4.502 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02649/12.14, allocations: 7.188 MB / 4.509 GB, free: 8.09 MB / 0.5261 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.3607/12.5, allocations: 5.692 MB / 4.514 GB, free: 59.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02597/12.53, allocations: 11.86 MB / 4.526 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/12.53, allocations: 3.031 kB / 4.526 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009983/12.54, allocations: 5.678 MB / 4.531 GB, free: 58.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00575/12.55, allocations: 1.073 MB / 4.532 GB, free: 58.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/12.56, allocations: 11.99 MB / 4.544 GB, free: 56.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002874/12.57, allocations: 3.028 MB / 4.547 GB, free: 55.72 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006161/12.57, allocations: 2.119 MB / 4.549 GB, free: 55.65 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/12.57, allocations: 277.4 kB / 4.549 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of SimCode: time 9.01e-07/12.57, allocations: 0 / 4.549 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of Templates: time 0.7566/13.33, allocations: 311.7 MB / 4.854 GB, free: 37.29 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe 2>&1)