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.00206/0.00206, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002548/0.002548, allocations: 160.9 kB / 24.27 MB, free: 168 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.492/1.492, allocations: 177 MB / 204.4 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.352e-06/1.352e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.538e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.2326/0.2326, allocations: 81.33 MB / 353.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03845/0.2711, allocations: 19.62 MB / 373.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003237/0.2743, allocations: 122.9 kB / 373.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0031/0.2774, allocations: 0.9314 MB / 374.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01196/0.2894, allocations: 3.994 MB / 378.2 MB, free: 6.727 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0168/0.3062, allocations: 6.715 MB / 384.9 MB, free: 0 / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.011/0.3172, allocations: 6.955 MB / 391.8 MB, free: 9.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003551/0.3208, allocations: 1.699 MB / 393.5 MB, free: 7.293 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3257/0.6464, allocations: 75.34 MB / 468.9 MB, free: 27.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05567/0.7021, allocations: 31.76 MB / 0.4889 GB, free: 9.137 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009438/0.703, allocations: 248 kB / 0.4891 GB, free: 8.895 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01156/0.7146, allocations: 5.452 MB / 0.4945 GB, free: 4.473 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.7162, allocations: 1.18 MB / 0.4956 GB, free: 3.832 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.7181, allocations: 1.071 MB / 0.4967 GB, free: 3.176 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008707/0.7268, allocations: 5.771 MB / 0.5023 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7268, allocations: 0 / 0.5023 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7268, allocations: 0 / 0.5023 GB, free: 15.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.775e-05/0.7268, allocations: 4 kB / 0.5023 GB, free: 15.11 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.009475/0.7363, allocations: 3.498 MB / 0.5057 GB, free: 12.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.7364, allocations: 11.98 kB / 0.5057 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.7377, allocations: 0.5 MB / 0.5062 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003181/0.7409, allocations: 1.693 MB / 0.5079 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002605/0.7412, allocations: 267.8 kB / 0.5081 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004034/0.7416, allocations: 211.8 kB / 0.5083 GB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006348/0.7479, allocations: 3.66 MB / 0.5119 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.987e-05/0.748, allocations: 7.188 kB / 0.5119 GB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002611/0.7482, allocations: 88.36 kB / 0.512 GB, free: 5.953 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003762/0.7486, allocations: 251 kB / 0.5122 GB, free: 5.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005795/0.7544, allocations: 3.096 MB / 0.5153 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.01911/0.7735, allocations: 9.733 MB / 0.5248 GB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004509/0.778, allocations: 2.089 MB / 0.5268 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002499/0.7805, allocations: 1.282 MB / 0.5281 GB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008132/0.7887, allocations: 3.479 MB / 0.5315 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.7887, allocations: 48.56 kB / 0.5315 GB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006408/0.7894, allocations: 154.1 kB / 0.5317 GB, free: 1.938 MB / 410.7 MB Notification: Performance of pre-optimization done (n=170): time 3.507e-06/0.7894, allocations: 2.844 kB / 0.5317 GB, free: 1.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=196): time 0.02586/0.8152, allocations: 8.909 MB / 0.5404 GB, free: 9.047 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.8153, allocations: 73.41 kB / 0.5404 GB, free: 8.965 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/0.8178, allocations: 1.486 MB / 0.5419 GB, free: 7.473 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002893/0.8181, allocations: 61.7 kB / 0.5419 GB, free: 7.406 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.8192, allocations: 1.084 MB / 0.543 GB, free: 6.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008115/0.82, allocations: 0.7009 MB / 0.5437 GB, free: 5.629 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008549/0.8208, allocations: 456.4 kB / 0.5441 GB, free: 5.176 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.821, allocations: 305.4 kB / 0.5444 GB, free: 4.879 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00247/0.8235, allocations: 1.233 MB / 0.5456 GB, free: 3.633 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/0.8265, allocations: 1.8 MB / 0.5474 GB, free: 1.594 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005544/0.832, allocations: 3.152 MB / 0.5504 GB, free: 14.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.8321, allocations: 8 kB / 0.5505 GB, free: 14.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.008665/0.8407, allocations: 4.308 MB / 0.5547 GB, free: 10.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.8408, allocations: 15.19 kB / 0.5547 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-05/0.8408, allocations: 16.55 kB / 0.5547 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01571/0.8565, allocations: 3.741 MB / 0.5583 GB, free: 6.297 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.858, allocations: 330.1 kB / 0.5587 GB, free: 5.996 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007924/0.8659, allocations: 3.997 MB / 0.5626 GB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.8681, allocations: 95.95 kB / 0.5627 GB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002785/0.8684, allocations: 116 kB / 0.5628 GB, free: 1.801 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003223/0.8716, allocations: 1.672 MB / 0.5644 GB, free: 124 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002871/0.8744, allocations: 1.755 MB / 0.5661 GB, free: 14.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00534/0.8798, allocations: 3.044 MB / 0.5691 GB, free: 10.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-05/0.8798, allocations: 4 kB / 0.5691 GB, free: 10.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=298) (initialization_lambda0): time 0.008213/0.888, allocations: 4.051 MB / 0.573 GB, free: 6.961 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.888, allocations: 12 kB / 0.5731 GB, free: 6.949 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.01e-05/0.8881, allocations: 20 kB / 0.5731 GB, free: 6.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01115/0.8992, allocations: 2.788 MB / 0.5758 GB, free: 4.152 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.901, allocations: 378.9 kB / 0.5762 GB, free: 3.809 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006746/0.9077, allocations: 3.52 MB / 0.5796 GB, free: 300 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.9097, allocations: 91.95 kB / 0.5797 GB, free: 208 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003567/0.9101, allocations: 112 kB / 0.5798 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.000742/0.9108, allocations: 310.6 kB / 0.5801 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008788/0.9117, allocations: 282.6 kB / 0.5804 GB, free: 15.53 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009645/0.9213, allocations: 3.906 MB / 0.5842 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-05/0.9214, allocations: 28 kB / 0.5842 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/0.9214, allocations: 4 kB / 0.5842 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006859/0.9282, allocations: 3.346 MB / 0.5875 GB, free: 8.176 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.9404, allocations: 5.66 MB / 0.593 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.9404, allocations: 0 / 0.593 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/0.942, allocations: 315.6 kB / 0.5933 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004857/0.9468, allocations: 1.187 MB / 0.5945 GB, free: 1.023 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002575/0.9471, allocations: 79.95 kB / 0.5945 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1864/1.133, allocations: 10.44 MB / 0.6047 GB, free: 213.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.133, allocations: 1.094 kB / 0.6047 GB, free: 213.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/1.151, allocations: 5.21 MB / 0.6098 GB, free: 212.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002312/1.153, allocations: 0.4958 MB / 0.6103 GB, free: 212 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009993/1.154, allocations: 58.83 kB / 0.6104 GB, free: 212 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002729/1.157, allocations: 69.03 kB / 0.6104 GB, free: 211.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008933/1.157, allocations: 179 kB / 0.6106 GB, free: 211.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004987/1.158, allocations: 78.64 kB / 0.6107 GB, free: 211.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00313/1.161, allocations: 0.9598 MB / 0.6116 GB, free: 211.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.161, allocations: 1.25 kB / 0.6116 GB, free: 211.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008951/1.17, allocations: 1.74 MB / 0.6133 GB, free: 211.4 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.004029/1.174, allocations: 1.083 MB / 0.6144 GB, free: 211.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01706/1.191, allocations: 4.855 MB / 0.6191 GB, free: 209.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.191, allocations: 0 / 0.6191 GB, free: 209.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004722/1.196, allocations: 2.141 MB / 0.6212 GB, free: 208.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005991/1.202, allocations: 0.9964 MB / 0.6222 GB, free: 208.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/1.213, allocations: 5.484 MB / 0.6275 GB, free: 203.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/1.215, allocations: 1.311 MB / 0.6288 GB, free: 202.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003336/1.219, allocations: 0.9185 MB / 0.6297 GB, free: 201.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008327/1.219, allocations: 176.5 kB / 0.6299 GB, free: 201.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.114e-06/1.219, allocations: 0 / 0.6299 GB, free: 201.1 MB / 474.7 MB Notification: Performance of Templates: time 0.08814/1.308, allocations: 66.67 MB / 0.695 GB, free: 135.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.417808269965462]