Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.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_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01034/0.01034, allocations: 174.1 kB / 15.12 MB, free: 5.984 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.64/1.64, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001902/0.001902, allocations: 124.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2972/0.2972, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.00041, allocations: 18.86 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 54.87 MB / 461 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.691/7.815, allocations: 2.67 GB / 3.12 GB, free: 70.41 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000376/7.815, allocations: 87.2 kB / 3.121 GB, free: 70.37 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.386/12.2, allocations: 1.025 GB / 4.146 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.385e-06/12.2, allocations: 0 / 4.146 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003675/12.2, allocations: 71.98 kB / 4.146 GB, free: 12.97 MB / 0.5261 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.0256/12.23, allocations: 4.691 MB / 4.15 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/12.23, allocations: 8.031 kB / 4.15 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009217/12.24, allocations: 1.035 MB / 4.151 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008594/12.25, allocations: 2.266 MB / 4.154 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004485/12.25, allocations: 292.2 kB / 4.154 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/12.25, allocations: 243.9 kB / 4.154 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4678/12.72, allocations: 4.491 MB / 4.158 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/12.72, allocations: 8.781 kB / 4.159 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004803/12.72, allocations: 110.4 kB / 4.159 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003241/12.72, allocations: 225 kB / 4.159 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/12.73, allocations: 4.193 MB / 4.163 GB, free: 30.54 MB / 0.5261 GB 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.03277/12.76, allocations: 19.02 MB / 4.181 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007284/12.77, allocations: 2.887 MB / 4.184 GB, free: 19.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0307/12.8, allocations: 17 MB / 4.201 GB, free: 25.42 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.909e-05/12.8, allocations: 55.19 kB / 4.201 GB, free: 25.38 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003012/12.8, allocations: 236.5 kB / 4.201 GB, free: 25.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=194): time 8.466e-06/12.8, allocations: 0 / 4.201 GB, free: 25.32 MB / 0.5417 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: heater.mediums[1].p 3: tank.medium.h 4: pump.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=215): time 0.05591/12.86, allocations: 17.84 MB / 4.219 GB, free: 23.06 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/12.86, allocations: 123.6 kB / 4.219 GB, free: 22.93 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/12.86, allocations: 1.676 MB / 4.22 GB, free: 22.71 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004095/12.86, allocations: 65.59 kB / 4.22 GB, free: 22.68 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008624/12.86, allocations: 1.15 MB / 4.222 GB, free: 22.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007581/12.86, allocations: 0.7236 MB / 4.222 GB, free: 21.96 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/12.86, allocations: 47.66 kB / 4.222 GB, free: 21.96 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002362/12.86, allocations: 409.3 kB / 4.223 GB, free: 21.65 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002451/12.87, allocations: 1.445 MB / 4.224 GB, free: 21.64 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002681/12.87, allocations: 1.945 MB / 4.226 GB, free: 21.12 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/12.87, allocations: 1.648 MB / 4.228 GB, free: 21.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/12.87, allocations: 7.344 kB / 4.228 GB, free: 21.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.008402/12.88, allocations: 4.324 MB / 4.232 GB, free: 20.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002197/12.88, allocations: 5.532 MB / 4.237 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/12.88, allocations: 15.44 kB / 4.237 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004561/12.89, allocations: 1.201 MB / 4.238 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003128/12.89, allocations: 0.5289 MB / 4.239 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007984/12.9, allocations: 5.761 MB / 4.245 GB, free: 26.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004793/12.9, allocations: 313.9 kB / 4.245 GB, free: 26.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009591/12.9, allocations: 122.8 kB / 4.245 GB, free: 26.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/12.9, allocations: 4.062 kB / 4.245 GB, free: 26.82 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01032/12.91, allocations: 3.755 MB / 4.249 GB, free: 26.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.738e-05/12.91, allocations: 13.25 kB / 4.249 GB, free: 26.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/12.92, allocations: 0.6573 MB / 4.249 GB, free: 26.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/12.92, allocations: 0.5914 MB / 4.25 GB, free: 26.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008799/12.93, allocations: 8.558 MB / 4.258 GB, free: 20 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004208/12.93, allocations: 314.8 kB / 4.259 GB, free: 19.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009334/12.93, allocations: 108.1 kB / 4.259 GB, free: 19.98 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 257 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 5,1 1,2 7,1 1,4 14,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0035/12.94, allocations: 0.8086 MB / 4.259 GB, free: 19.77 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/12.94, allocations: 234.5 kB / 4.26 GB, free: 19.65 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/12.96, allocations: 9.461 MB / 4.269 GB, free: 18.88 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001069/12.96, allocations: 104.8 kB / 4.269 GB, free: 18.88 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/12.96, allocations: 2.25 kB / 4.269 GB, free: 18.88 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01407/12.97, allocations: 8.335 MB / 4.277 GB, free: 18 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02994/13, allocations: 13.75 MB / 4.291 GB, free: 17.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.543e-05/13, allocations: 7.375 kB / 4.291 GB, free: 17.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00218/13, allocations: 402.5 kB / 4.291 GB, free: 17.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006364/13.01, allocations: 2.312 MB / 4.293 GB, free: 16.89 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007564/13.01, allocations: 74.41 kB / 4.293 GB, free: 16.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00732/13.02, allocations: 7.011 MB / 4.3 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/13.02, allocations: 1.875 kB / 4.3 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01996/13.04, allocations: 10.33 MB / 4.31 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004142/13.04, allocations: 0.827 MB / 4.311 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/13.04, allocations: 61.09 kB / 4.311 GB, free: 11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003498/13.05, allocations: 266 kB / 4.311 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007733/13.05, allocations: 197.6 kB / 4.312 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004481/13.05, allocations: 85.98 kB / 4.312 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003212/13.05, allocations: 1.34 MB / 4.313 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.91e-07/13.05, allocations: 1.906 kB / 4.313 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01805/13.07, allocations: 3.091 MB / 4.316 GB, free: 10.04 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (tank.medium.h,tank.level,heater.mediums[1].p,heater.mediums[1].h,radiator.mediums[1].p,radiator.mediums[1].h,pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h) * Number of discrete variables: 58 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse35.phase,$cse35.region,$cse38.region3boundary,$cse39.region3boundary,$cse40.phase,$cse40.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$cse45.phase,$cse45.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 4,1 1,2 9,1 1,4 18,1 1,1 10,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01687/13.09, allocations: 3.08 MB / 4.319 GB, free: 9.629 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01569/13.1, allocations: 6.672 MB / 4.325 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/13.1, allocations: 4.969 kB / 4.325 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006368/13.11, allocations: 3.066 MB / 4.328 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007406/13.12, allocations: 1.076 MB / 4.33 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0252/13.14, allocations: 10.53 MB / 4.34 GB, free: 336 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004304/13.14, allocations: 2.584 MB / 4.342 GB, free: 15.38 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007362/13.15, allocations: 3.059 MB / 4.345 GB, free: 15.26 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/13.15, allocations: 206.7 kB / 4.346 GB, free: 15.24 MB / 0.573 GB Notification: Performance of SimCode: time 1.653e-06/13.15, allocations: 0 / 4.346 GB, free: 15.24 MB / 0.573 GB Notification: Performance of Templates: time 0.5598/13.71, allocations: 101.1 MB / 4.444 GB, free: 72.6 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)