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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001541/0.001541, allocations: 121.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001854/0.001854, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.89 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2529, allocations: 50.53 MB / 409.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.0885/0.3415, allocations: 90.42 MB / 499.6 MB, free: 6.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02975/0.3712, allocations: 21.35 MB / 0.5088 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/0.3743, allocations: 91.44 kB / 0.5089 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002724/0.3771, allocations: 0.9356 MB / 0.5098 GB, free: 492 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009591/0.3867, allocations: 3.74 MB / 0.5134 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01217/0.3989, allocations: 5.675 MB / 0.519 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008543/0.4074, allocations: 7.069 MB / 0.5259 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00272/0.4102, allocations: 1.844 MB / 0.5277 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4112/0.8214, allocations: 75.02 MB / 0.6009 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06651/0.8879, allocations: 31.95 MB / 0.6321 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002089/0.89, allocations: 248 kB / 0.6324 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/0.9043, allocations: 6.115 MB / 0.6384 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002133/0.9065, allocations: 1.089 MB / 0.6394 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003652/0.9101, allocations: 1.497 MB / 0.6409 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.9211, allocations: 5.539 MB / 0.6463 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.9211, allocations: 0 / 0.6463 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9211, allocations: 0 / 0.6463 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001798/0.9213, allocations: 4 kB / 0.6463 GB, free: 6.066 MB / 0.4981 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.01054/0.9318, allocations: 3.497 MB / 0.6497 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.9319, allocations: 8.031 kB / 0.6497 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.9331, allocations: 308.5 kB / 0.65 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/0.9362, allocations: 1.676 MB / 0.6516 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.9364, allocations: 219.9 kB / 0.6519 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003866/0.9368, allocations: 207.3 kB / 0.6521 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005355/0.9422, allocations: 3.291 MB / 0.6553 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.934e-05/0.9423, allocations: 11.55 kB / 0.6553 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/0.9425, allocations: 78.55 kB / 0.6554 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003148/0.9428, allocations: 255.1 kB / 0.6556 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005225/0.9481, allocations: 3.102 MB / 0.6586 GB, free: 9.441 MB / 0.5137 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.02003/0.9681, allocations: 13.79 MB / 0.6721 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004221/0.9724, allocations: 2.219 MB / 0.6743 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/0.9747, allocations: 1.361 MB / 0.6756 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009191/0.9839, allocations: 5.867 MB / 0.6813 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/0.984, allocations: 52.56 kB / 0.6814 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000896/0.9849, allocations: 181.9 kB / 0.6815 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 7.584e-06/0.9849, allocations: 0 / 0.6815 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.02285/1.008, allocations: 9.145 MB / 0.6905 GB, free: 7.605 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/1.008, allocations: 77.39 kB / 0.6905 GB, free: 7.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/1.011, allocations: 1.841 MB / 0.6923 GB, free: 5.637 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002117/1.011, allocations: 61.7 kB / 0.6924 GB, free: 5.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000865/1.012, allocations: 1.067 MB / 0.6934 GB, free: 4.496 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006572/1.013, allocations: 0.6725 MB / 0.6941 GB, free: 3.832 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000835/1.014, allocations: 460.3 kB / 0.6945 GB, free: 3.375 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.014, allocations: 305.1 kB / 0.6948 GB, free: 3.074 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/1.016, allocations: 1.229 MB / 0.696 GB, free: 1.836 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002587/1.018, allocations: 1.806 MB / 0.6978 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004799/1.023, allocations: 3.162 MB / 0.7009 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/1.023, allocations: 4 kB / 0.7009 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007918/1.031, allocations: 4.297 MB / 0.7051 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/1.031, allocations: 15.09 kB / 0.7051 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-05/1.031, allocations: 19.94 kB / 0.7051 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01401/1.045, allocations: 3.63 MB / 0.7087 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/1.047, allocations: 330.2 kB / 0.709 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006884/1.054, allocations: 3.946 MB / 0.7128 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/1.056, allocations: 99.88 kB / 0.7129 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/1.056, allocations: 116 kB / 0.713 GB, free: 148 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003131/1.059, allocations: 1.672 MB / 0.7147 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00239/1.062, allocations: 1.749 MB / 0.7164 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004408/1.066, allocations: 3.058 MB / 0.7194 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.597e-05/1.066, allocations: 4 kB / 0.7194 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.006869/1.073, allocations: 4.02 MB / 0.7233 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.073, allocations: 16.22 kB / 0.7233 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/1.073, allocations: 20 kB / 0.7233 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009532/1.083, allocations: 2.738 MB / 0.726 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/1.084, allocations: 375.9 kB / 0.7264 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005593/1.09, allocations: 3.474 MB / 0.7297 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/1.092, allocations: 95.94 kB / 0.7298 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003873/1.093, allocations: 108 kB / 0.7299 GB, free: 14.54 MB / 0.5919 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.0008833/1.094, allocations: 327.5 kB / 0.7303 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/1.095, allocations: 229.3 kB / 0.7305 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008267/1.103, allocations: 3.945 MB / 0.7343 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-05/1.103, allocations: 27.98 kB / 0.7344 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.497e-05/1.103, allocations: 4 kB / 0.7344 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005709/1.109, allocations: 3.37 MB / 0.7376 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/1.12, allocations: 6.299 MB / 0.7438 GB, free: 268 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/1.12, allocations: 4 kB / 0.7438 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/1.121, allocations: 316.3 kB / 0.7441 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003997/1.125, allocations: 1.157 MB / 0.7452 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002099/1.125, allocations: 71.95 kB / 0.7453 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009955/1.135, allocations: 11.07 MB / 0.7561 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.135, allocations: 0 / 0.7561 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.235/1.37, allocations: 5.173 MB / 0.7612 GB, free: 282.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/1.372, allocations: 0.5938 MB / 0.7617 GB, free: 282.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006497/1.372, allocations: 61.33 kB / 0.7618 GB, free: 282.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.375, allocations: 76.91 kB / 0.7619 GB, free: 282.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006754/1.375, allocations: 165 kB / 0.762 GB, free: 282.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003813/1.376, allocations: 77 kB / 0.7621 GB, free: 282.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002616/1.378, allocations: 1.261 MB / 0.7633 GB, free: 282.4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.11e-07/1.378, allocations: 3.969 kB / 0.7633 GB, free: 282.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004717/1.383, allocations: 1.735 MB / 0.765 GB, free: 282.3 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.002177/1.385, allocations: 1.012 MB / 0.766 GB, free: 282.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00908/1.394, allocations: 5.111 MB / 0.771 GB, free: 280.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.394, allocations: 0 / 0.771 GB, free: 280.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003311/1.398, allocations: 2.247 MB / 0.7732 GB, free: 279.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003731/1.401, allocations: 1.061 MB / 0.7742 GB, free: 279.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007382/1.409, allocations: 5.641 MB / 0.7798 GB, free: 276.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/1.41, allocations: 1.871 MB / 0.7816 GB, free: 274.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002368/1.412, allocations: 0.9576 MB / 0.7825 GB, free: 273.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004815/1.413, allocations: 199.4 kB / 0.7827 GB, free: 273.5 MB / 0.6075 GB Notification: Performance of SimCode: time 8.72e-07/1.413, allocations: 0 / 0.7827 GB, free: 273.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.08853/1.501, allocations: 77.49 MB / 0.8584 GB, free: 196.3 MB / 0.6075 GB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.makefile (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)