Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001794/0.001794, allocations: 105.4 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002388/0.002388, allocations: 219.1 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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="Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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="Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 59.89 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2639, allocations: 53.33 MB / 429.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.1082/0.3721, allocations: 91.59 MB / 0.5092 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03447/0.4065, allocations: 21.52 MB / 0.5302 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00298/0.4095, allocations: 87.44 kB / 0.5303 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00321/0.4127, allocations: 0.955 MB / 0.5312 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.423, allocations: 3.795 MB / 0.5349 GB, free: 1.168 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2677/0.6907, allocations: 5.662 MB / 0.5404 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008877/0.6996, allocations: 7.089 MB / 0.5473 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003167/0.7027, allocations: 1.611 MB / 0.5489 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1537/0.8564, allocations: 75.19 MB / 0.6224 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.07374/0.9301, allocations: 32.21 MB / 0.6538 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001555/0.9317, allocations: 248 kB / 0.654 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01747/0.9492, allocations: 6.176 MB / 0.6601 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002717/0.9519, allocations: 1.126 MB / 0.6612 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003849/0.9557, allocations: 1.499 MB / 0.6626 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.9685, allocations: 5.563 MB / 0.6681 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.9685, allocations: 0 / 0.6681 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9685, allocations: 0 / 0.6681 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000136/0.9686, allocations: 0 / 0.6681 GB, free: 8.898 MB / 0.5294 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.009766/0.9784, allocations: 3.599 MB / 0.6716 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.9784, allocations: 8.031 kB / 0.6716 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.9795, allocations: 322.2 kB / 0.6719 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/0.9827, allocations: 1.691 MB / 0.6736 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.9829, allocations: 216.7 kB / 0.6738 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003755/0.9833, allocations: 205.2 kB / 0.674 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005975/0.9893, allocations: 3.283 MB / 0.6772 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.916e-05/0.9893, allocations: 11.36 kB / 0.6772 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002571/0.9896, allocations: 83.41 kB / 0.6773 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003408/0.9899, allocations: 247.8 kB / 0.6775 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005851/0.9958, allocations: 3.107 MB / 0.6805 GB, free: 12.15 MB / 0.545 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.02257/1.018, allocations: 13.65 MB / 0.6939 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004417/1.023, allocations: 2.111 MB / 0.6959 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/1.025, allocations: 1.292 MB / 0.6972 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009523/1.035, allocations: 5.711 MB / 0.7028 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/1.035, allocations: 52.56 kB / 0.7028 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008584/1.036, allocations: 186.6 kB / 0.703 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=171): time 4.749e-06/1.036, allocations: 3.938 kB / 0.703 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=197): time 0.02375/1.059, allocations: 9.175 MB / 0.7119 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/1.059, allocations: 76.97 kB / 0.712 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/1.062, allocations: 1.845 MB / 0.7138 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002506/1.062, allocations: 61.7 kB / 0.7139 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009031/1.063, allocations: 1.087 MB / 0.7149 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007002/1.064, allocations: 0.7125 MB / 0.7156 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007871/1.065, allocations: 456.5 kB / 0.7161 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.065, allocations: 309.1 kB / 0.7164 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/1.067, allocations: 1.229 MB / 0.7176 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002632/1.07, allocations: 1.804 MB / 0.7193 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004828/1.075, allocations: 3.157 MB / 0.7224 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/1.075, allocations: 8 kB / 0.7224 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007631/1.082, allocations: 4.228 MB / 0.7265 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/1.082, allocations: 12.94 kB / 0.7266 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.099e-05/1.082, allocations: 16 kB / 0.7266 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01391/1.096, allocations: 3.642 MB / 0.7301 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/1.098, allocations: 326.8 kB / 0.7304 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006788/1.104, allocations: 3.945 MB / 0.7343 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/1.106, allocations: 99.83 kB / 0.7344 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/1.107, allocations: 124 kB / 0.7345 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00289/1.11, allocations: 1.668 MB / 0.7361 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002488/1.112, allocations: 1.757 MB / 0.7379 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004578/1.117, allocations: 3.043 MB / 0.7408 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.086e-05/1.117, allocations: 8 kB / 0.7408 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.007192/1.124, allocations: 3.975 MB / 0.7447 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/1.124, allocations: 12 kB / 0.7447 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/1.124, allocations: 16 kB / 0.7447 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009525/1.133, allocations: 2.757 MB / 0.7474 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/1.135, allocations: 373.6 kB / 0.7478 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006184/1.141, allocations: 3.473 MB / 0.7512 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/1.144, allocations: 91.95 kB / 0.7513 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/1.144, allocations: 108 kB / 0.7514 GB, free: 1.773 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 4 (tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,107)} Notification: Performance of prepare postOptimizeDAE: time 0.0007123/1.145, allocations: 319.2 kB / 0.7517 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005065/1.145, allocations: 234.5 kB / 0.7519 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2351/1.38, allocations: 3.923 MB / 0.7557 GB, free: 275.6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.14e-05/1.38, allocations: 23.8 kB / 0.7558 GB, free: 275.6 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/1.38, allocations: 2.781 kB / 0.7558 GB, free: 275.6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005647/1.386, allocations: 3.358 MB / 0.759 GB, free: 274.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009214/1.395, allocations: 6.289 MB / 0.7652 GB, free: 271.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.395, allocations: 0 / 0.7652 GB, free: 271.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/1.396, allocations: 315.4 kB / 0.7655 GB, free: 271.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003747/1.4, allocations: 1.161 MB / 0.7666 GB, free: 271.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002116/1.4, allocations: 71.25 kB / 0.7667 GB, free: 271.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007061/1.407, allocations: 11.08 MB / 0.7775 GB, free: 261.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.407, allocations: 1.938 kB / 0.7775 GB, free: 261.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007254/1.415, allocations: 5.165 MB / 0.7825 GB, free: 258.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.416, allocations: 0.6043 MB / 0.7831 GB, free: 257.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003493/1.416, allocations: 55.98 kB / 0.7832 GB, free: 257.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/1.417, allocations: 77.55 kB / 0.7833 GB, free: 257.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003965/1.418, allocations: 165.8 kB / 0.7834 GB, free: 257.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/1.418, allocations: 87.89 kB / 0.7835 GB, free: 257.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00139/1.419, allocations: 1.257 MB / 0.7847 GB, free: 256 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/1.419, allocations: 3.766 kB / 0.7847 GB, free: 256 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00353/1.423, allocations: 1.754 MB / 0.7865 GB, free: 254.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.level,tank.medium.T,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 (182): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,9), (2,8), (5,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00194/1.425, allocations: 1.019 MB / 0.7874 GB, free: 253.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.008662/1.434, allocations: 4.847 MB / 0.7922 GB, free: 248.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.434, allocations: 4 kB / 0.7922 GB, free: 248.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003304/1.437, allocations: 2.148 MB / 0.7943 GB, free: 246.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004329/1.441, allocations: 1.076 MB / 0.7953 GB, free: 245.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007808/1.449, allocations: 5.74 MB / 0.8009 GB, free: 240.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/1.45, allocations: 1.877 MB / 0.8028 GB, free: 238.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002663/1.453, allocations: 0.9526 MB / 0.8037 GB, free: 237.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005205/1.453, allocations: 195.4 kB / 0.8039 GB, free: 237.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.452e-06/1.453, allocations: 4 kB / 0.8039 GB, free: 237.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.0936/1.547, allocations: 77.95 MB / 0.88 GB, free: 159.6 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.sim & ./Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.975191566161811]