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.0009493/0.0009493, allocations: 75.69 kB / 21.7 MB, free: 2.848 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.0008954/0.0008954, allocations: 163.9 kB / 24.99 MB, free: 9.324 MB / 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 0.99/0.99, allocations: 177 MB / 205.2 MB, free: 5.238 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..h|heater.mediums.[0-9,]+..p|pipe.mediums.[0-9,]+..h|pipe.mediums.[0-9,]+..p|radiator.mediums.[0-9,]+..h|radiator.mediums.[0-9,]+..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.[0-9,]+..h|heater.mediums.[0-9,]+..p|pipe.mediums.[0-9,]+..h|pipe.mediums.[0-9,]+..p|radiator.mediums.[0-9,]+..h|radiator.mediums.[0-9,]+..p|tank.level|tank.medium.h",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 273 MB, free: 1.609 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.952e-05, allocations: 2.312 kB / 273 MB, free: 1.605 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.1768/0.1768, allocations: 92.39 MB / 365.4 MB, free: 4.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02358/0.2004, allocations: 21.2 MB / 386.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.2022, allocations: 118.9 kB / 386.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.2038, allocations: 0.9236 MB / 387.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006776/0.2105, allocations: 4.002 MB / 391.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.2206, allocations: 6.715 MB / 398.3 MB, free: 3.875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006702/0.2273, allocations: 6.96 MB / 405.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/0.2296, allocations: 1.698 MB / 407 MB, free: 11.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2621/0.4916, allocations: 75.34 MB / 482.3 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04057/0.5322, allocations: 31.76 MB / 0.502 GB, free: 9.898 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008661/0.5331, allocations: 248 kB / 0.5023 GB, free: 9.656 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008436/0.5415, allocations: 5.462 MB / 0.5076 GB, free: 5.223 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009691/0.5425, allocations: 1.187 MB / 0.5088 GB, free: 4.605 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.5439, allocations: 1.07 MB / 0.5098 GB, free: 3.949 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005717/0.5496, allocations: 4.661 MB / 0.5143 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5496, allocations: 0 / 0.5143 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5496, allocations: 4 kB / 0.5144 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.508e-05/0.5497, allocations: 0 / 0.5144 GB, free: 0.5742 MB / 394.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.00481/0.5545, allocations: 3.642 MB / 0.5179 GB, free: 12.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.5545, allocations: 11.98 kB / 0.5179 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008108/0.5553, allocations: 0.4987 MB / 0.5184 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.5573, allocations: 1.619 MB / 0.52 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.5575, allocations: 267.5 kB / 0.5202 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.5577, allocations: 207 kB / 0.5204 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/0.5603, allocations: 2.386 MB / 0.5228 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.5604, allocations: 7.281 kB / 0.5228 GB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.5605, allocations: 86.25 kB / 0.5229 GB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002096/0.5608, allocations: 251.1 kB / 0.5231 GB, free: 7.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.5629, allocations: 1.182 MB / 0.5243 GB, free: 6.344 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.009332/0.5722, allocations: 9.318 MB / 0.5334 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.5743, allocations: 1.26 MB / 0.5346 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000899/0.5752, allocations: 0.6174 MB / 0.5352 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003591/0.5787, allocations: 2.582 MB / 0.5377 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.5788, allocations: 55.39 kB / 0.5378 GB, free: 8.559 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003009/0.5791, allocations: 146.9 kB / 0.5379 GB, free: 8.414 MB / 426.7 MB Notification: Performance of pre-optimization done (n=170): time 3.536e-06/0.5791, allocations: 0 / 0.5379 GB, free: 8.414 MB / 426.7 MB Notification: Performance of matching and sorting (n=196): time 0.01035/0.5894, allocations: 5.496 MB / 0.5433 GB, free: 2.922 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.5895, allocations: 73.41 kB / 0.5433 GB, free: 2.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.5906, allocations: 1.377 MB / 0.5447 GB, free: 1.449 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.5908, allocations: 61.7 kB / 0.5447 GB, free: 1.383 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005857/0.5913, allocations: 1.141 MB / 0.5459 GB, free: 244 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004465/0.5918, allocations: 0.7169 MB / 0.5466 GB, free: 15.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00054/0.5923, allocations: 478.5 kB / 0.547 GB, free: 15.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5924, allocations: 480.8 kB / 0.5475 GB, free: 14.58 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009631/0.5934, allocations: 450 kB / 0.5479 GB, free: 14.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.5946, allocations: 1.254 MB / 0.5491 GB, free: 12.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.5967, allocations: 1.89 MB / 0.551 GB, free: 10.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.5967, allocations: 4 kB / 0.551 GB, free: 10.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.003382/0.6001, allocations: 2.314 MB / 0.5532 GB, free: 8.188 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.6001, allocations: 12 kB / 0.5532 GB, free: 8.176 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.6001, allocations: 16 kB / 0.5533 GB, free: 8.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006912/0.607, allocations: 3.062 MB / 0.5563 GB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/0.6077, allocations: 327.4 kB / 0.5566 GB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.6105, allocations: 2.18 MB / 0.5587 GB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008825/0.6114, allocations: 87.95 kB / 0.5588 GB, free: 2.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.6116, allocations: 127.2 kB / 0.5589 GB, free: 2.422 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001095/0.6127, allocations: 0.5774 MB / 0.5595 GB, free: 1.836 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001158/0.6138, allocations: 1.253 MB / 0.5607 GB, free: 256 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00214/0.616, allocations: 1.852 MB / 0.5625 GB, free: 14.13 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.06e-05/0.616, allocations: 8 kB / 0.5625 GB, free: 14.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=298) (initialization_lambda0): time 0.003156/0.6191, allocations: 2.217 MB / 0.5647 GB, free: 12.01 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.6192, allocations: 12 kB / 0.5647 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.6192, allocations: 20 kB / 0.5647 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004718/0.6239, allocations: 2.182 MB / 0.5668 GB, free: 9.809 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007609/0.6247, allocations: 376.6 kB / 0.5672 GB, free: 9.469 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.6272, allocations: 1.992 MB / 0.5691 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008271/0.628, allocations: 87.95 kB / 0.5692 GB, free: 7.395 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.6281, allocations: 112 kB / 0.5693 GB, free: 7.285 MB / 458.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.0004257/0.6286, allocations: 400 kB / 0.5697 GB, free: 6.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/0.6289, allocations: 282.6 kB / 0.57 GB, free: 6.633 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003697/0.6326, allocations: 2.367 MB / 0.5723 GB, free: 4.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.6326, allocations: 24 kB / 0.5723 GB, free: 4.246 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.6326, allocations: 4 kB / 0.5723 GB, free: 4.242 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002577/0.6352, allocations: 1.847 MB / 0.5741 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005173/0.6404, allocations: 3.741 MB / 0.5778 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.6404, allocations: 0 / 0.5778 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007438/0.6411, allocations: 318.4 kB / 0.5781 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001986/0.6431, allocations: 0.9184 MB / 0.579 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.6432, allocations: 67.95 kB / 0.579 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005738/0.649, allocations: 12.17 MB / 0.5909 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.649, allocations: 0 / 0.5909 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.131/0.7799, allocations: 2.644 MB / 0.5935 GB, free: 218.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008929/0.7808, allocations: 469.6 kB / 0.594 GB, free: 218.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.7811, allocations: 55.72 kB / 0.594 GB, free: 218.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/0.7818, allocations: 68.03 kB / 0.5941 GB, free: 218.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/0.7821, allocations: 172.4 kB / 0.5942 GB, free: 218.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.7823, allocations: 77.55 kB / 0.5943 GB, free: 218.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009014/0.7832, allocations: 0.7812 MB / 0.5951 GB, free: 218.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.7832, allocations: 0.75 kB / 0.5951 GB, free: 218.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003362/0.7865, allocations: 1.741 MB / 0.5968 GB, free: 218.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.001718/0.7882, allocations: 1.087 MB / 0.5978 GB, free: 218.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005319/0.7936, allocations: 2.931 MB / 0.6007 GB, free: 217.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.7936, allocations: 3.969 kB / 0.6007 GB, free: 217.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.7954, allocations: 1.837 MB / 0.6025 GB, free: 217 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.7977, allocations: 0.9869 MB / 0.6035 GB, free: 217 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005277/0.803, allocations: 4.59 MB / 0.6079 GB, free: 215.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.8034, allocations: 0.6168 MB / 0.6085 GB, free: 215.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001439/0.8048, allocations: 0.7982 MB / 0.6093 GB, free: 215.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.8051, allocations: 182.6 kB / 0.6095 GB, free: 215 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/0.8051, allocations: 0 / 0.6095 GB, free: 215 MB / 474.7 MB Notification: Performance of Templates: time 0.06069/0.8658, allocations: 66.79 MB / 0.6747 GB, free: 150.7 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: 5.2242312270682305]