Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002323/0.002323, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Fluid.Examples.HeatingSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.286e-05/3.518e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.239/0.239, allocations: 81.33 MB / 353.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03854/0.2776, allocations: 19.62 MB / 373.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002632/0.2802, allocations: 122.9 kB / 373.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002853/0.2831, allocations: 0.9275 MB / 374.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.295, allocations: 4.002 MB / 378.3 MB, free: 6.727 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01861/0.3136, allocations: 6.707 MB / 385 MB, free: 8 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0114/0.325, allocations: 6.946 MB / 392 MB, free: 9.031 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003779/0.3288, allocations: 1.694 MB / 393.7 MB, free: 7.312 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3412/0.67, allocations: 75.35 MB / 469 MB, free: 27.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05661/0.7266, allocations: 31.76 MB / 0.489 GB, free: 9.098 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.7278, allocations: 248 kB / 0.4893 GB, free: 8.855 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/0.7388, allocations: 5.449 MB / 0.4946 GB, free: 4.434 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001505/0.7403, allocations: 1.173 MB / 0.4957 GB, free: 3.797 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.742, allocations: 1.075 MB / 0.4968 GB, free: 3.141 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008353/0.7504, allocations: 5.773 MB / 0.5024 GB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.7504, allocations: 4 kB / 0.5024 GB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.7504, allocations: 0 / 0.5024 GB, free: 15.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.064e-05/0.7505, allocations: 0 / 0.5024 GB, free: 15.08 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.01018/0.7606, allocations: 3.501 MB / 0.5058 GB, free: 11.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.7607, allocations: 8.031 kB / 0.5058 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.7622, allocations: 0.5005 MB / 0.5063 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003439/0.7656, allocations: 1.695 MB / 0.508 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.7659, allocations: 267.9 kB / 0.5082 GB, free: 9.973 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000441/0.7663, allocations: 202.9 kB / 0.5084 GB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007015/0.7733, allocations: 3.669 MB / 0.512 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.687e-05/0.7734, allocations: 4.875 kB / 0.512 GB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002805/0.7737, allocations: 94.16 kB / 0.5121 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003963/0.7741, allocations: 247.8 kB / 0.5124 GB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006072/0.7801, allocations: 3.093 MB / 0.5154 GB, free: 2.637 MB / 394.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.02115/0.8013, allocations: 9.738 MB / 0.5249 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004617/0.8059, allocations: 2.084 MB / 0.5269 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002645/0.8086, allocations: 1.293 MB / 0.5282 GB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008546/0.8171, allocations: 3.469 MB / 0.5316 GB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.621e-05/0.8172, allocations: 56.56 kB / 0.5316 GB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000733/0.8179, allocations: 153.8 kB / 0.5318 GB, free: 1.938 MB / 410.7 MB Notification: Performance of pre-optimization done (n=170): time 3.697e-06/0.8179, allocations: 0 / 0.5318 GB, free: 1.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=196): time 0.02563/0.8435, allocations: 8.914 MB / 0.5405 GB, free: 9.043 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.8436, allocations: 73.41 kB / 0.5405 GB, free: 8.961 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/0.8461, allocations: 1.482 MB / 0.542 GB, free: 7.473 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003262/0.8465, allocations: 61.7 kB / 0.542 GB, free: 7.406 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.8475, allocations: 1.083 MB / 0.5431 GB, free: 6.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009861/0.8485, allocations: 0.7009 MB / 0.5438 GB, free: 5.629 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009087/0.8494, allocations: 455.4 kB / 0.5442 GB, free: 5.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.8495, allocations: 309.1 kB / 0.5445 GB, free: 4.875 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/0.8519, allocations: 1.232 MB / 0.5457 GB, free: 3.633 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003157/0.8551, allocations: 1.801 MB / 0.5475 GB, free: 1.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005748/0.8608, allocations: 3.151 MB / 0.5506 GB, free: 14.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/0.8608, allocations: 4 kB / 0.5506 GB, free: 14.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.009207/0.8701, allocations: 4.308 MB / 0.5548 GB, free: 10.06 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.8701, allocations: 12 kB / 0.5548 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.283e-05/0.8701, allocations: 23.98 kB / 0.5548 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0161/0.8862, allocations: 3.732 MB / 0.5584 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.8877, allocations: 330.7 kB / 0.5588 GB, free: 6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007926/0.8956, allocations: 4.001 MB / 0.5627 GB, free: 2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.8977, allocations: 91.94 kB / 0.5628 GB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003524/0.8981, allocations: 118.7 kB / 0.5629 GB, free: 1.797 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003534/0.9016, allocations: 1.675 MB / 0.5645 GB, free: 116 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003016/0.9046, allocations: 1.751 MB / 0.5662 GB, free: 14.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005533/0.9102, allocations: 3.042 MB / 0.5692 GB, free: 10.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.856e-05/0.9102, allocations: 8 kB / 0.5692 GB, free: 10.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=298) (initialization_lambda0): time 0.008388/0.9186, allocations: 4.049 MB / 0.5731 GB, free: 6.957 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.9186, allocations: 12 kB / 0.5732 GB, free: 6.945 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-05/0.9186, allocations: 24.09 kB / 0.5732 GB, free: 6.922 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/0.9306, allocations: 2.789 MB / 0.5759 GB, free: 4.145 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002726/0.9333, allocations: 375.2 kB / 0.5763 GB, free: 3.801 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.9434, allocations: 3.516 MB / 0.5797 GB, free: 304 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003369/0.9468, allocations: 99.94 kB / 0.5798 GB, free: 204 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007716/0.9476, allocations: 110.9 kB / 0.5799 GB, free: 96 kB / 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.001424/0.949, allocations: 317.5 kB / 0.5802 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/0.9504, allocations: 278.6 kB / 0.5805 GB, free: 15.53 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009601/0.96, allocations: 3.904 MB / 0.5843 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.856e-05/0.9601, allocations: 24 kB / 0.5843 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.44e-05/0.9601, allocations: 4 kB / 0.5843 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007102/0.9672, allocations: 3.346 MB / 0.5876 GB, free: 8.172 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.9798, allocations: 5.66 MB / 0.5931 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.9798, allocations: 0 / 0.5931 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/0.9813, allocations: 310.7 kB / 0.5934 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004704/0.986, allocations: 1.201 MB / 0.5946 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002378/0.9862, allocations: 71.95 kB / 0.5946 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1435/1.13, allocations: 10.44 MB / 0.6048 GB, free: 213.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/1.13, allocations: 1.562 kB / 0.6048 GB, free: 213.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/1.14, allocations: 5.209 MB / 0.6099 GB, free: 212.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.142, allocations: 0.4964 MB / 0.6104 GB, free: 212.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005351/1.142, allocations: 54.53 kB / 0.6105 GB, free: 212.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/1.144, allocations: 73.28 kB / 0.6105 GB, free: 212.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004964/1.144, allocations: 177.7 kB / 0.6107 GB, free: 212.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002522/1.145, allocations: 78.83 kB / 0.6108 GB, free: 212.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00167/1.146, allocations: 0.9594 MB / 0.6117 GB, free: 211.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.1e-08/1.146, allocations: 0 / 0.6117 GB, free: 211.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005029/1.151, allocations: 1.74 MB / 0.6134 GB, free: 211.6 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.002653/1.154, allocations: 1.086 MB / 0.6145 GB, free: 211.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01009/1.164, allocations: 4.846 MB / 0.6192 GB, free: 210 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.164, allocations: 0 / 0.6192 GB, free: 210 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003973/1.168, allocations: 2.146 MB / 0.6213 GB, free: 208.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007155/1.175, allocations: 1.009 MB / 0.6223 GB, free: 208.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/1.188, allocations: 5.484 MB / 0.6276 GB, free: 203.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/1.19, allocations: 1.314 MB / 0.6289 GB, free: 202.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004195/1.194, allocations: 0.9153 MB / 0.6298 GB, free: 201.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008441/1.195, allocations: 180.4 kB / 0.63 GB, free: 201.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.673e-06/1.195, allocations: 0 / 0.63 GB, free: 201.2 MB / 474.7 MB Notification: Performance of Templates: time 0.1226/1.317, allocations: 66.68 MB / 0.6951 GB, free: 135.3 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.494550797971897]