Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001614/0.001614, allocations: 92.53 kB / 16.3 MB, free: 5.641 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.001501/0.001501, allocations: 184.3 kB / 17.19 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.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.0004956/0.0004959, allocations: 11.98 kB / 280.1 MB, free: 3.777 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 47.58 MB / 327.7 MB, free: 4.125 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.2845/0.3928, allocations: 67.55 MB / 395.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03095/0.4239, allocations: 20.66 MB / 415.9 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003092/0.427, allocations: 104.1 kB / 416 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003223/0.4302, allocations: 0.9115 MB / 416.9 MB, free: 8.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.4403, allocations: 2.706 MB / 419.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0168/0.4571, allocations: 5.412 MB / 425 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007184/0.4644, allocations: 3.884 MB / 428.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004205/0.4686, allocations: 1.52 MB / 430.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4532/0.9219, allocations: 123.8 MB / 0.5413 GB, free: 106.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0754/0.9973, allocations: 53.33 MB / 0.5934 GB, free: 62.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.9985, allocations: 124 kB / 0.5935 GB, free: 62.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0165/1.015, allocations: 7.994 MB / 0.6013 GB, free: 55.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002046/1.017, allocations: 0.8743 MB / 0.6021 GB, free: 54.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/1.019, allocations: 0.5301 MB / 0.6027 GB, free: 54.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007178/1.026, allocations: 3.83 MB / 0.6064 GB, free: 50.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/1.026, allocations: 4 kB / 0.6064 GB, free: 50.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.424e-06/1.026, allocations: 0 / 0.6064 GB, free: 50.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001064/1.026, allocations: 0 / 0.6064 GB, free: 50.87 MB / 430.1 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.007498/1.033, allocations: 3.004 MB / 0.6093 GB, free: 48.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.033, allocations: 12.03 kB / 0.6094 GB, free: 48.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/1.035, allocations: 304.6 kB / 0.6096 GB, free: 47.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003072/1.038, allocations: 1.525 MB / 0.6111 GB, free: 46.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/1.038, allocations: 216.6 kB / 0.6113 GB, free: 46.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/1.038, allocations: 199.8 kB / 0.6115 GB, free: 46.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/1.043, allocations: 3.263 MB / 0.6147 GB, free: 43.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/1.043, allocations: 11.38 kB / 0.6147 GB, free: 43.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002324/1.043, allocations: 84.09 kB / 0.6148 GB, free: 43.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000272/1.043, allocations: 256.9 kB / 0.6151 GB, free: 43.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005154/1.049, allocations: 3.102 MB / 0.6181 GB, free: 41.57 MB / 430.1 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.01772/1.066, allocations: 13.93 MB / 0.6317 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00383/1.07, allocations: 2.222 MB / 0.6339 GB, free: 27.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00872/1.079, allocations: 5.927 MB / 0.6396 GB, free: 22.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/1.079, allocations: 55.02 kB / 0.6397 GB, free: 22.69 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009677/1.08, allocations: 189.5 kB / 0.6399 GB, free: 22.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=173): time 5e-06/1.08, allocations: 0.9844 kB / 0.6399 GB, free: 22.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=199): time 0.02031/1.1, allocations: 9.299 MB / 0.649 GB, free: 15.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/1.1, allocations: 73.41 kB / 0.649 GB, free: 15.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/1.103, allocations: 1.824 MB / 0.6508 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002486/1.103, allocations: 62.2 kB / 0.6509 GB, free: 14.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005395/1.103, allocations: 1.052 MB / 0.6519 GB, free: 13.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004427/1.104, allocations: 0.689 MB / 0.6526 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/1.104, allocations: 44 kB / 0.6526 GB, free: 12.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/1.104, allocations: 410.6 kB / 0.653 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/1.106, allocations: 1.203 MB / 0.6542 GB, free: 10.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/1.108, allocations: 1.78 MB / 0.6559 GB, free: 8.664 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/1.109, allocations: 1.457 MB / 0.6573 GB, free: 7.223 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/1.109, allocations: 6.531 kB / 0.6573 GB, free: 7.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.006015/1.115, allocations: 4.259 MB / 0.6615 GB, free: 3.047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002211/1.118, allocations: 6.973 MB / 0.6683 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/1.118, allocations: 16 kB / 0.6683 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01396/1.132, allocations: 3.64 MB / 0.6719 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/1.133, allocations: 321.8 kB / 0.6722 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006803/1.14, allocations: 4.023 MB / 0.6761 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/1.143, allocations: 197 kB / 0.6763 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003066/1.143, allocations: 116 kB / 0.6764 GB, free: 3.234 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.143, allocations: 4 kB / 0.6764 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006623/1.15, allocations: 3.83 MB / 0.6802 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-05/1.15, allocations: 16 kB / 0.6802 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009443/1.159, allocations: 2.884 MB / 0.683 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/1.161, allocations: 366.8 kB / 0.6833 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005459/1.166, allocations: 3.527 MB / 0.6868 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/1.169, allocations: 191.8 kB / 0.687 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002451/1.169, allocations: 115.2 kB / 0.6871 GB, free: 8.453 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (174): * Single equations (assignments): 173 * 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 {19 108} Notification: Performance of prepare postOptimizeDAE: time 0.001633/1.171, allocations: 0.6981 MB / 0.6878 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005399/1.171, allocations: 221.3 kB / 0.688 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007658/1.179, allocations: 4.008 MB / 0.6919 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/1.179, allocations: 23.98 kB / 0.6919 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.972e-05/1.179, allocations: 8 kB / 0.6919 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007006/1.186, allocations: 3.388 MB / 0.6952 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/1.198, allocations: 6.384 MB / 0.7015 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.198, allocations: 0 / 0.7015 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/1.199, allocations: 318.4 kB / 0.7018 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004466/1.204, allocations: 1.268 MB / 0.703 GB, free: 8.055 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002504/1.204, allocations: 71.95 kB / 0.7031 GB, free: 7.984 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1694/1.374, allocations: 10.58 MB / 0.7134 GB, free: 199 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.374, allocations: 2.641 kB / 0.7134 GB, free: 199 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/1.384, allocations: 5.236 MB / 0.7185 GB, free: 198.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002582/1.386, allocations: 0.6312 MB / 0.7191 GB, free: 198.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005024/1.387, allocations: 53.09 kB / 0.7192 GB, free: 198.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/1.388, allocations: 150.4 kB / 0.7193 GB, free: 198.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004658/1.389, allocations: 169.4 kB / 0.7195 GB, free: 198.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/1.389, allocations: 80.17 kB / 0.7196 GB, free: 198.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001961/1.391, allocations: 1.213 MB / 0.7207 GB, free: 197.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.41e-07/1.391, allocations: 1.875 kB / 0.7208 GB, free: 197.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004407/1.395, allocations: 1.734 MB / 0.7224 GB, free: 197.6 MB / 478.1 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 (183): * Single equations (assignments): 169 * 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%) 6,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.002041/1.398, allocations: 0.9801 MB / 0.7234 GB, free: 197.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008978/1.407, allocations: 5.038 MB / 0.7283 GB, free: 195.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.407, allocations: 1.156 kB / 0.7283 GB, free: 195.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00355/1.41, allocations: 2.257 MB / 0.7305 GB, free: 194.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/1.414, allocations: 0.9285 MB / 0.7314 GB, free: 194.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007879/1.422, allocations: 6.662 MB / 0.7379 GB, free: 190.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.423, allocations: 1.915 MB / 0.7398 GB, free: 189.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002721/1.426, allocations: 0.9545 MB / 0.7407 GB, free: 188.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004642/1.426, allocations: 191.3 kB / 0.7409 GB, free: 187.9 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/1.426, allocations: 0 / 0.7409 GB, free: 187.9 MB / 478.1 MB Notification: Performance of Templates: time 0.08177/1.508, allocations: 69.21 MB / 0.8085 GB, free: 118.6 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1) Environment - environmentSimulation: