Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009922/0.0009923, allocations: 179 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.3 MB / 242.1 MB, free: 9.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000803/0.000803, allocations: 100 kB / 293.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3534/0.3534, allocations: 44.15 MB / 388.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003791, allocations: 8 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3846, allocations: 61.88 MB / 0.5107 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.519/7.904, allocations: 3.171 GB / 3.682 GB, free: 92.54 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/7.904, allocations: 92.55 kB / 3.682 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.298/16.2, allocations: 2.322 GB / 6.004 GB, free: 45.53 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.515e-06/16.2, allocations: 0 / 6.004 GB, free: 45.53 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.00038/16.2, allocations: 69.45 kB / 6.004 GB, free: 45.51 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.02065/16.22, allocations: 3.876 MB / 6.008 GB, free: 43.28 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/16.22, allocations: 10.03 kB / 6.008 GB, free: 43.28 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/16.23, allocations: 315.8 kB / 6.008 GB, free: 43.14 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007314/16.23, allocations: 2.216 MB / 6.01 GB, free: 42.04 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003132/16.23, allocations: 212.5 kB / 6.011 GB, free: 41.91 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/16.24, allocations: 199.9 kB / 6.011 GB, free: 41.84 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009126/16.24, allocations: 3.377 MB / 6.014 GB, free: 40.32 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001196/16.24, allocations: 7.625 kB / 6.014 GB, free: 40.32 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000837/16.25, allocations: 86.28 kB / 6.014 GB, free: 40.26 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002734/16.25, allocations: 203.9 kB / 6.014 GB, free: 40.23 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006346/16.25, allocations: 3.098 MB / 6.017 GB, free: 39.17 MB / 0.5573 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.02208/16.27, allocations: 12.31 MB / 6.029 GB, free: 31.49 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003862/16.28, allocations: 2.253 MB / 6.032 GB, free: 30.33 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/16.28, allocations: 1.379 MB / 6.033 GB, free: 29.16 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009088/16.29, allocations: 5.812 MB / 6.039 GB, free: 23.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/16.29, allocations: 56.5 kB / 6.039 GB, free: 23.14 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001345/16.29, allocations: 198 kB / 6.039 GB, free: 22.95 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 1.044e-05/16.29, allocations: 0 / 6.039 GB, free: 22.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=198): time 0.03157/16.32, allocations: 10.76 MB / 6.049 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/16.32, allocations: 132.8 kB / 6.05 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003338/16.33, allocations: 1.869 MB / 6.051 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003233/16.33, allocations: 61.7 kB / 6.051 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007963/16.33, allocations: 1.045 MB / 6.052 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007075/16.33, allocations: 0.6738 MB / 6.053 GB, free: 8.223 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/16.33, allocations: 48 kB / 6.053 GB, free: 8.176 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000186/16.33, allocations: 398.5 kB / 6.054 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/16.33, allocations: 1.218 MB / 6.055 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/16.33, allocations: 1.742 MB / 6.056 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004109/16.34, allocations: 3.041 MB / 6.059 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/16.34, allocations: 8 kB / 6.059 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.4405/16.78, allocations: 3.946 MB / 6.063 GB, free: 48.31 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004375/16.78, allocations: 0.5184 MB / 6.064 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/16.78, allocations: 14.28 kB / 6.064 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00442/16.78, allocations: 1.238 MB / 6.065 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/16.78, allocations: 467.8 kB / 6.065 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00821/16.79, allocations: 10.51 MB / 6.076 GB, free: 39.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/16.8, allocations: 191.3 kB / 6.076 GB, free: 39.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000385/16.8, allocations: 111.6 kB / 6.076 GB, free: 39.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/16.8, allocations: 8.219 kB / 6.076 GB, free: 39.79 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006223/16.8, allocations: 3.542 MB / 6.079 GB, free: 39.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/16.8, allocations: 14.66 kB / 6.079 GB, free: 39.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/16.8, allocations: 0.8715 MB / 6.08 GB, free: 39.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/16.81, allocations: 0.4897 MB / 6.081 GB, free: 39.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007044/16.81, allocations: 10.2 MB / 6.091 GB, free: 31.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/16.82, allocations: 184.8 kB / 6.091 GB, free: 31.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/16.82, allocations: 108.7 kB / 6.091 GB, free: 31.75 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 240 * 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: 5 {(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {5 14,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001744/16.82, allocations: 0.7179 MB / 6.092 GB, free: 31.56 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005014/16.82, allocations: 226.2 kB / 6.092 GB, free: 31.56 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006967/16.83, allocations: 3.98 MB / 6.096 GB, free: 31.37 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/16.83, allocations: 26.66 kB / 6.096 GB, free: 31.37 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/16.83, allocations: 0 / 6.096 GB, free: 31.37 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004978/16.83, allocations: 3.385 MB / 6.099 GB, free: 30.91 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/16.84, allocations: 6.358 MB / 6.105 GB, free: 30.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/16.84, allocations: 3.531 kB / 6.105 GB, free: 30.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/16.84, allocations: 318.3 kB / 6.106 GB, free: 30.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004362/16.85, allocations: 1.244 MB / 6.107 GB, free: 30.38 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002847/16.85, allocations: 75.38 kB / 6.107 GB, free: 30.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007923/16.86, allocations: 10.46 MB / 6.117 GB, free: 22.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/16.86, allocations: 0 / 6.117 GB, free: 22.49 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00976/16.87, allocations: 5.23 MB / 6.122 GB, free: 22.08 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002007/16.87, allocations: 0.6226 MB / 6.123 GB, free: 21.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000518/16.87, allocations: 54.72 kB / 6.123 GB, free: 21.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/16.87, allocations: 152.5 kB / 6.123 GB, free: 21.86 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004647/16.87, allocations: 172.3 kB / 6.123 GB, free: 21.85 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/16.87, allocations: 81.27 kB / 6.123 GB, free: 21.85 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002279/16.87, allocations: 1.28 MB / 6.125 GB, free: 21.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/16.87, allocations: 1.062 kB / 6.125 GB, free: 21.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009622/16.88, allocations: 1.935 MB / 6.126 GB, free: 21.71 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.medium.T,tank.level,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.003753/16.89, allocations: 1.298 MB / 6.128 GB, free: 21.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01172/16.9, allocations: 6.088 MB / 6.134 GB, free: 20.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/16.9, allocations: 0 / 6.134 GB, free: 20.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003859/16.9, allocations: 2.247 MB / 6.136 GB, free: 19.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005161/16.91, allocations: 0.983 MB / 6.137 GB, free: 19.81 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/16.92, allocations: 6.612 MB / 6.143 GB, free: 17.52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001889/16.92, allocations: 1.887 MB / 6.145 GB, free: 16.76 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004793/16.93, allocations: 1.22 MB / 6.146 GB, free: 16.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006364/16.93, allocations: 209.8 kB / 6.147 GB, free: 16.69 MB / 0.5573 GB Notification: Performance of SimCode: time 7.12e-07/16.93, allocations: 0 / 6.147 GB, free: 16.69 MB / 0.5573 GB Notification: Performance of Templates: time 0.1064/17.03, allocations: 64.89 MB / 6.21 GB, free: 14.96 MB / 0.5573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)