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.002059/0.002059, allocations: 99.53 kB / 20.96 MB, free: 3.453 MB / 18.57 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.001954/0.001954, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 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.541/1.541, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 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 1.483e-06/1.483e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.727e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.2392/0.2392, allocations: 92.22 MB / 364.4 MB, free: 5.297 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03763/0.2769, allocations: 21.21 MB / 385.6 MB, free: 44 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.2794, allocations: 123 kB / 385.7 MB, free: 15.92 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00266/0.282, allocations: 0.9313 MB / 386.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.2926, allocations: 3.998 MB / 390.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01659/0.3092, allocations: 6.734 MB / 397.4 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01058/0.3197, allocations: 6.948 MB / 404.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002819/0.3226, allocations: 1.694 MB / 406 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3302/0.6527, allocations: 75.36 MB / 481.4 MB, free: 14.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06648/0.7192, allocations: 31.76 MB / 0.5011 GB, free: 10.27 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009659/0.7202, allocations: 248 kB / 0.5014 GB, free: 10.02 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0141/0.7343, allocations: 5.464 MB / 0.5067 GB, free: 5.59 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001784/0.7361, allocations: 1.183 MB / 0.5078 GB, free: 4.977 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002074/0.7381, allocations: 1.076 MB / 0.5089 GB, free: 4.316 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.7489, allocations: 5.762 MB / 0.5145 GB, free: 15.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.7489, allocations: 0 / 0.5145 GB, free: 15.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.7489, allocations: 0 / 0.5145 GB, free: 15.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.444e-05/0.749, allocations: 4 kB / 0.5145 GB, free: 15.91 MB / 410.7 MB 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.01018/0.7592, allocations: 3.798 MB / 0.5182 GB, free: 12.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.7592, allocations: 11.98 kB / 0.5182 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.7607, allocations: 0.498 MB / 0.5187 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003622/0.7643, allocations: 1.644 MB / 0.5203 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002899/0.7646, allocations: 266.3 kB / 0.5206 GB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004098/0.765, allocations: 204.2 kB / 0.5208 GB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005315/0.7703, allocations: 2.873 MB / 0.5236 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.193e-05/0.7703, allocations: 7.562 kB / 0.5236 GB, free: 6.488 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.7706, allocations: 87.36 kB / 0.5237 GB, free: 6.418 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003772/0.771, allocations: 255.1 kB / 0.5239 GB, free: 6.172 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004623/0.7756, allocations: 1.842 MB / 0.5257 GB, free: 4.352 MB / 410.7 MB 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.02143/0.797, allocations: 10.93 MB / 0.5364 GB, free: 9.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004194/0.8012, allocations: 1.641 MB / 0.538 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002088/0.8033, allocations: 0.9187 MB / 0.5389 GB, free: 6.957 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008734/0.8121, allocations: 3.029 MB / 0.5419 GB, free: 3.961 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.694e-05/0.8121, allocations: 59.39 kB / 0.5419 GB, free: 3.895 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007157/0.8128, allocations: 154.1 kB / 0.5421 GB, free: 3.746 MB / 426.7 MB Notification: Performance of pre-optimization done (n=170): time 4.368e-06/0.8128, allocations: 0 / 0.5421 GB, free: 3.746 MB / 426.7 MB Notification: Performance of matching and sorting (n=196): time 0.02335/0.8362, allocations: 7.251 MB / 0.5491 GB, free: 12.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.8363, allocations: 73.41 kB / 0.5492 GB, free: 12.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002842/0.8391, allocations: 1.761 MB / 0.5509 GB, free: 10.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003312/0.8394, allocations: 64.33 kB / 0.551 GB, free: 10.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.8407, allocations: 1.222 MB / 0.5522 GB, free: 9.344 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009343/0.8416, allocations: 0.7552 MB / 0.5529 GB, free: 8.598 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.8428, allocations: 0.5259 MB / 0.5534 GB, free: 8.062 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002529/0.8431, allocations: 476.8 kB / 0.5539 GB, free: 7.594 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/0.845, allocations: 0.8252 MB / 0.5547 GB, free: 6.762 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002786/0.8478, allocations: 1.702 MB / 0.5564 GB, free: 4.734 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00497/0.8528, allocations: 2.787 MB / 0.5591 GB, free: 1.691 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/0.8528, allocations: 8 kB / 0.5591 GB, free: 1.684 MB / 442.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.007717/0.8605, allocations: 3.31 MB / 0.5623 GB, free: 14.47 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.8605, allocations: 15.98 kB / 0.5623 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.799e-05/0.8606, allocations: 24.91 kB / 0.5624 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01544/0.876, allocations: 3.406 MB / 0.5657 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.8774, allocations: 327.4 kB / 0.566 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007069/0.8845, allocations: 3.246 MB / 0.5692 GB, free: 7.496 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.8865, allocations: 95.95 kB / 0.5693 GB, free: 7.402 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002803/0.8867, allocations: 120 kB / 0.5694 GB, free: 7.285 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002596/0.8893, allocations: 1.132 MB / 0.5705 GB, free: 6.145 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002736/0.8921, allocations: 1.686 MB / 0.5721 GB, free: 4.117 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004932/0.897, allocations: 2.716 MB / 0.5748 GB, free: 1.141 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.621e-05/0.897, allocations: 8 kB / 0.5748 GB, free: 1.133 MB / 458.7 MB Notification: Performance of matching and sorting (n=298) (initialization_lambda0): time 0.006835/0.9039, allocations: 3.162 MB / 0.5779 GB, free: 14.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.9039, allocations: 12 kB / 0.5779 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/0.9039, allocations: 20 kB / 0.5779 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01061/0.9145, allocations: 2.513 MB / 0.5804 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/0.9164, allocations: 369.4 kB / 0.5807 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005586/0.922, allocations: 2.927 MB / 0.5836 GB, free: 8.234 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.9239, allocations: 87.95 kB / 0.5837 GB, free: 8.148 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/0.9242, allocations: 112 kB / 0.5838 GB, free: 8.039 MB / 474.7 MB 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 (174): * Single equations (assignments): 173 * 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.0007626/0.9249, allocations: 401.6 kB / 0.5841 GB, free: 7.664 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006741/0.9256, allocations: 278.6 kB / 0.5844 GB, free: 7.391 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007774/0.9334, allocations: 3.125 MB / 0.5875 GB, free: 4.258 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-05/0.9334, allocations: 24 kB / 0.5875 GB, free: 4.234 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.9334, allocations: 4 kB / 0.5875 GB, free: 4.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005772/0.9392, allocations: 2.603 MB / 0.59 GB, free: 1.543 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1314/1.071, allocations: 5.068 MB / 0.595 GB, free: 219 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.071, allocations: 0.9062 kB / 0.595 GB, free: 219 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/1.072, allocations: 313.6 kB / 0.5953 GB, free: 219 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004255/1.076, allocations: 1.096 MB / 0.5964 GB, free: 218.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003043/1.077, allocations: 78.95 kB / 0.5964 GB, free: 218.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008149/1.085, allocations: 13.6 MB / 0.6097 GB, free: 207.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.085, allocations: 0.9375 kB / 0.6097 GB, free: 207.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007376/1.092, allocations: 3.923 MB / 0.6135 GB, free: 205.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/1.094, allocations: 469.8 kB / 0.614 GB, free: 205.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/1.094, allocations: 53.78 kB / 0.614 GB, free: 205.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.095, allocations: 62.88 kB / 0.6141 GB, free: 205.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004022/1.096, allocations: 177.5 kB / 0.6143 GB, free: 205.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/1.096, allocations: 81.7 kB / 0.6143 GB, free: 205.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001193/1.097, allocations: 0.9951 MB / 0.6153 GB, free: 205.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.1e-08/1.097, allocations: 0 / 0.6153 GB, free: 205.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004019/1.101, allocations: 1.736 MB / 0.617 GB, free: 205.2 MB / 474.7 MB 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 (181): * Single equations (assignments): 167 * 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.00215/1.103, allocations: 1.091 MB / 0.6181 GB, free: 205 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008551/1.112, allocations: 4.092 MB / 0.6221 GB, free: 203.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.112, allocations: 0 / 0.6221 GB, free: 203.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003312/1.115, allocations: 2.186 MB / 0.6242 GB, free: 201.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004292/1.119, allocations: 0.9906 MB / 0.6252 GB, free: 200.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007252/1.127, allocations: 5.003 MB / 0.6301 GB, free: 195.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/1.127, allocations: 1.249 MB / 0.6313 GB, free: 194.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002249/1.13, allocations: 0.7939 MB / 0.6321 GB, free: 193.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004939/1.13, allocations: 180.4 kB / 0.6322 GB, free: 193.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.673e-06/1.13, allocations: 0 / 0.6322 GB, free: 193.6 MB / 474.7 MB Notification: Performance of Templates: time 0.07685/1.207, allocations: 66.76 MB / 0.6974 GB, free: 127.5 MB / 474.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.437115043983795]