Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008627/0.0008628, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009128/0.0009128, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004782, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2758, allocations: 47.59 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.09385/0.3697, allocations: 86.52 MB / 413 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03342/0.4032, allocations: 20.54 MB / 433.5 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003499/0.4067, allocations: 107.1 kB / 433.6 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.4099, allocations: 0.7803 MB / 434.4 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.4209, allocations: 3.429 MB / 437.8 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0128/0.4337, allocations: 4.447 MB / 442.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01136/0.4451, allocations: 8.702 MB / 451 MB, free: 6.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003704/0.4488, allocations: 1.515 MB / 452.5 MB, free: 5.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.5171/0.966, allocations: 126.4 MB / 0.5653 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.104/1.07, allocations: 55.01 MB / 0.619 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001539/1.072, allocations: 124 kB / 0.6191 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01846/1.09, allocations: 7.952 MB / 0.6269 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002398/1.093, allocations: 0.9559 MB / 0.6278 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001858/1.094, allocations: 0.5298 MB / 0.6284 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.2913/1.386, allocations: 3.846 MB / 0.6321 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/1.386, allocations: 0.5625 kB / 0.6321 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.556e-06/1.386, allocations: 0.5312 kB / 0.6321 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001875/1.386, allocations: 0 / 0.6321 GB, free: 141.5 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.01038/1.396, allocations: 3.022 MB / 0.6351 GB, free: 140.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/1.396, allocations: 12.59 kB / 0.6351 GB, free: 140.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/1.398, allocations: 307.6 kB / 0.6354 GB, free: 140 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004224/1.403, allocations: 1.522 MB / 0.6369 GB, free: 139.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/1.403, allocations: 216.6 kB / 0.6371 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/1.403, allocations: 200.6 kB / 0.6373 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005334/1.409, allocations: 3.284 MB / 0.6405 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.291e-05/1.409, allocations: 10.59 kB / 0.6405 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000249/1.409, allocations: 86.56 kB / 0.6406 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002936/1.409, allocations: 241.7 kB / 0.6408 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004999/1.414, allocations: 3.106 MB / 0.6438 GB, free: 139.2 MB / 0.4981 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.01825/1.432, allocations: 13.81 MB / 0.6573 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004391/1.437, allocations: 2.217 MB / 0.6595 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002191/1.439, allocations: 1.349 MB / 0.6608 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009754/1.449, allocations: 5.873 MB / 0.6665 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/1.449, allocations: 52.53 kB / 0.6666 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0014/1.45, allocations: 189.7 kB / 0.6667 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=171): time 1.027e-05/1.45, allocations: 0 / 0.6667 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=197): time 0.02452/1.475, allocations: 9.296 MB / 0.6758 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/1.475, allocations: 72.06 kB / 0.6759 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003309/1.478, allocations: 1.821 MB / 0.6777 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004976/1.479, allocations: 60.92 kB / 0.6777 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007687/1.48, allocations: 1.064 MB / 0.6788 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.481, allocations: 0.6795 MB / 0.6794 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/1.481, allocations: 48.44 kB / 0.6795 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000205/1.481, allocations: 402 kB / 0.6799 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/1.483, allocations: 1.201 MB / 0.681 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/1.486, allocations: 1.772 MB / 0.6828 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/1.488, allocations: 1.452 MB / 0.6842 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/1.488, allocations: 7.688 kB / 0.6842 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.00697/1.495, allocations: 4.206 MB / 0.6883 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004984/1.495, allocations: 0.605 MB / 0.6889 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/1.495, allocations: 18.16 kB / 0.6889 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/1.508, allocations: 3.675 MB / 0.6925 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.509, allocations: 333.5 kB / 0.6928 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006211/1.516, allocations: 3.94 MB / 0.6967 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/1.518, allocations: 185.5 kB / 0.6968 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/1.519, allocations: 113.7 kB / 0.6969 GB, free: 118 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.519, allocations: 4 kB / 0.6969 GB, free: 118 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005657/1.524, allocations: 3.794 MB / 0.7007 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/1.524, allocations: 24 kB / 0.7007 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008129/1.533, allocations: 2.837 MB / 0.7034 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.534, allocations: 376.9 kB / 0.7038 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004543/1.539, allocations: 3.47 MB / 0.7072 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/1.541, allocations: 183.8 kB / 0.7074 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/1.541, allocations: 109 kB / 0.7075 GB, free: 110.1 MB / 0.4981 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.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 initialization (175): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 107} Notification: Performance of prepare postOptimizeDAE: time 0.001406/1.543, allocations: 0.7072 MB / 0.7082 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000426/1.543, allocations: 225.3 kB / 0.7084 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006658/1.55, allocations: 3.956 MB / 0.7122 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/1.55, allocations: 27.98 kB / 0.7123 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/1.55, allocations: 4 kB / 0.7123 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00472/1.555, allocations: 3.382 MB / 0.7156 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009556/1.564, allocations: 6.303 MB / 0.7217 GB, free: 99.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.564, allocations: 0 / 0.7217 GB, free: 99.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/1.566, allocations: 319.5 kB / 0.722 GB, free: 99.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003748/1.569, allocations: 1.236 MB / 0.7232 GB, free: 98.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002355/1.57, allocations: 72.89 kB / 0.7233 GB, free: 98.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007267/1.577, allocations: 10.46 MB / 0.7335 GB, free: 88.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/1.577, allocations: 0 / 0.7335 GB, free: 88.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007844/1.585, allocations: 5.185 MB / 0.7386 GB, free: 84.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/1.587, allocations: 0.5995 MB / 0.7392 GB, free: 84.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004497/1.587, allocations: 53.3 kB / 0.7392 GB, free: 84.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.589, allocations: 154.2 kB / 0.7394 GB, free: 84.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003502/1.589, allocations: 168.4 kB / 0.7395 GB, free: 84.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/1.589, allocations: 82.52 kB / 0.7396 GB, free: 83.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001529/1.591, allocations: 1.238 MB / 0.7408 GB, free: 83.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.591, allocations: 0 / 0.7408 GB, free: 83.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00448/1.595, allocations: 1.738 MB / 0.7425 GB, free: 81.32 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6} * Non-linear torn systems: 3 {1 9,2 8,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.002236/1.598, allocations: 0.9783 MB / 0.7435 GB, free: 80.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009114/1.607, allocations: 4.962 MB / 0.7483 GB, free: 75.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.607, allocations: 0 / 0.7483 GB, free: 75.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003455/1.61, allocations: 2.25 MB / 0.7505 GB, free: 73.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004718/1.615, allocations: 0.9821 MB / 0.7515 GB, free: 72.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008589/1.623, allocations: 6.609 MB / 0.7579 GB, free: 65.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/1.625, allocations: 1.868 MB / 0.7598 GB, free: 63.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002949/1.628, allocations: 0.9536 MB / 0.7607 GB, free: 62.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005396/1.628, allocations: 194.2 kB / 0.7609 GB, free: 62.66 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/1.628, allocations: 0 / 0.7609 GB, free: 62.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.2991/1.927, allocations: 70.14 MB / 0.8294 GB, free: 230.1 MB / 0.4981 GB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1)