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.001115/0.001115, allocations: 102.1 kB / 16.5 MB, free: 6.688 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.001095/0.001095, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.454/1.454, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001286/0.001286, allocations: 51.92 kB / 279.3 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1057, allocations: 46.63 MB / 325.9 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.3031/0.4089, allocations: 95.47 MB / 421.4 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.037/0.4459, allocations: 22.59 MB / 444 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00421/0.4502, allocations: 119.1 kB / 444.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002743/0.453, allocations: 0.8238 MB / 445 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00958/0.4626, allocations: 3.513 MB / 448.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01372/0.4763, allocations: 4.911 MB / 453.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0125/0.4888, allocations: 10.68 MB / 464.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002854/0.4917, allocations: 1.599 MB / 465.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1697/0.6614, allocations: 73.38 MB / 0.5264 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3343/0.9958, allocations: 31.96 MB / 0.5576 GB, free: 84.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001394/0.9972, allocations: 133.2 kB / 0.5577 GB, free: 84.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01696/1.014, allocations: 5.959 MB / 0.5635 GB, free: 83.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003427/1.018, allocations: 0.9818 MB / 0.5645 GB, free: 83.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004021/1.022, allocations: 1.377 MB / 0.5659 GB, free: 83.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/1.034, allocations: 5.37 MB / 0.5711 GB, free: 82.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.034, allocations: 0 / 0.5711 GB, free: 82.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/1.034, allocations: 3.75 kB / 0.5711 GB, free: 82.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000121/1.034, allocations: 0 / 0.5711 GB, free: 82.79 MB / 446.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.01095/1.045, allocations: 3.499 MB / 0.5745 GB, free: 81.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/1.045, allocations: 7.281 kB / 0.5745 GB, free: 81.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/1.047, allocations: 310.8 kB / 0.5748 GB, free: 81.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/1.05, allocations: 1.578 MB / 0.5764 GB, free: 80.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/1.05, allocations: 215.3 kB / 0.5766 GB, free: 80.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003468/1.051, allocations: 204.1 kB / 0.5768 GB, free: 80.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00564/1.056, allocations: 3.294 MB / 0.58 GB, free: 80.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.993e-05/1.056, allocations: 4.469 kB / 0.58 GB, free: 80.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/1.057, allocations: 87.92 kB / 0.5801 GB, free: 80.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002895/1.057, allocations: 251.8 kB / 0.5803 GB, free: 80.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004748/1.062, allocations: 3.11 MB / 0.5833 GB, free: 79.72 MB / 446.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.01735/1.079, allocations: 13.77 MB / 0.5968 GB, free: 69.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003752/1.083, allocations: 2.225 MB / 0.599 GB, free: 67.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/1.085, allocations: 1.347 MB / 0.6003 GB, free: 66.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00779/1.093, allocations: 5.859 MB / 0.606 GB, free: 61.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/1.093, allocations: 52 kB / 0.6061 GB, free: 61.7 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009042/1.093, allocations: 182.8 kB / 0.6062 GB, free: 61.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=171): time 4.459e-06/1.094, allocations: 0 / 0.6062 GB, free: 61.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=197): time 0.02084/1.114, allocations: 9.15 MB / 0.6152 GB, free: 52.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/1.114, allocations: 73.41 kB / 0.6152 GB, free: 52.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/1.117, allocations: 1.845 MB / 0.617 GB, free: 50.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001801/1.117, allocations: 61.7 kB / 0.6171 GB, free: 50.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006242/1.118, allocations: 1.06 MB / 0.6181 GB, free: 49.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005452/1.118, allocations: 0.6793 MB / 0.6188 GB, free: 48.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007397/1.119, allocations: 468.2 kB / 0.6192 GB, free: 48.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.662e-05/1.119, allocations: 301.1 kB / 0.6195 GB, free: 48.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/1.121, allocations: 1.225 MB / 0.6207 GB, free: 46.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002003/1.123, allocations: 1.81 MB / 0.6225 GB, free: 44.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004019/1.127, allocations: 3.158 MB / 0.6256 GB, free: 41.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-05/1.127, allocations: 8 kB / 0.6256 GB, free: 41.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006613/1.134, allocations: 4.291 MB / 0.6298 GB, free: 37.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/1.134, allocations: 12 kB / 0.6298 GB, free: 37.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/1.134, allocations: 24.08 kB / 0.6298 GB, free: 37.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01303/1.147, allocations: 3.628 MB / 0.6333 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/1.148, allocations: 338.9 kB / 0.6337 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007927/1.156, allocations: 3.945 MB / 0.6375 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/1.159, allocations: 188.6 kB / 0.6377 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004512/1.16, allocations: 117.4 kB / 0.6378 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003091/1.163, allocations: 1.668 MB / 0.6394 GB, free: 27.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002696/1.165, allocations: 1.758 MB / 0.6412 GB, free: 25.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004543/1.17, allocations: 3.044 MB / 0.6441 GB, free: 22.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.977e-05/1.17, allocations: 8 kB / 0.6441 GB, free: 22.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.007219/1.177, allocations: 4.021 MB / 0.6481 GB, free: 18.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/1.177, allocations: 16 kB / 0.6481 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-05/1.177, allocations: 16 kB / 0.6481 GB, free: 18.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009147/1.187, allocations: 2.75 MB / 0.6508 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/1.188, allocations: 382 kB / 0.6511 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005728/1.194, allocations: 3.473 MB / 0.6545 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/1.197, allocations: 179.7 kB / 0.6547 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004545/1.197, allocations: 112 kB / 0.6548 GB, free: 11.39 MB / 446.1 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 (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.0008747/1.198, allocations: 315.5 kB / 0.6551 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000753/1.199, allocations: 225.3 kB / 0.6553 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007534/1.207, allocations: 3.954 MB / 0.6592 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/1.207, allocations: 20 kB / 0.6592 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.078e-05/1.207, allocations: 4 kB / 0.6592 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005177/1.212, allocations: 3.369 MB / 0.6625 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/1.223, allocations: 6.31 MB / 0.6687 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/1.223, allocations: 2.25 kB / 0.6687 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/1.225, allocations: 315.9 kB / 0.669 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004625/1.23, allocations: 1.206 MB / 0.6702 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004783/1.23, allocations: 75.89 kB / 0.6702 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/1.241, allocations: 10.43 MB / 0.6804 GB, free: 440 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.241, allocations: 3.938 kB / 0.6804 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/1.254, allocations: 5.183 MB / 0.6855 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001981/1.256, allocations: 0.5992 MB / 0.6861 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009873/1.257, allocations: 51.98 kB / 0.6861 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/1.26, allocations: 135.7 kB / 0.6862 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005932/1.26, allocations: 172.3 kB / 0.6864 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003088/1.261, allocations: 75.95 kB / 0.6865 GB, free: 10.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002566/1.263, allocations: 1.268 MB / 0.6877 GB, free: 8.887 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.263, allocations: 0 / 0.6877 GB, free: 8.887 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007447/1.271, allocations: 1.738 MB / 0.6894 GB, free: 7.148 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 (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), (6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00347/1.274, allocations: 1.006 MB / 0.6904 GB, free: 6.215 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01247/1.287, allocations: 5.065 MB / 0.6953 GB, free: 1.254 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/1.287, allocations: 0 / 0.6953 GB, free: 1.254 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004865/1.291, allocations: 2.239 MB / 0.6975 GB, free: 14.99 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00687/1.298, allocations: 0.989 MB / 0.6985 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/1.313, allocations: 6.638 MB / 0.705 GB, free: 7.348 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002449/1.315, allocations: 1.875 MB / 0.7068 GB, free: 5.434 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004336/1.319, allocations: 0.9634 MB / 0.7077 GB, free: 4.469 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009683/1.32, allocations: 191.4 kB / 0.7079 GB, free: 4.285 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/1.32, allocations: 0 / 0.7079 GB, free: 4.285 MB / 494.1 MB Notification: Performance of Templates: time 0.3167/1.637, allocations: 72.04 MB / 0.7783 GB, free: 195.4 MB / 0.4981 GB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem.makefile (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)