Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5353/0.5353, allocations: 94.7 MB / 107.3 MB, free: 5.172 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001123/0.001124, allocations: 171.2 kB / 130.7 MB, free: 7.539 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.712/1.712, allocations: 170.5 MB / 324.5 MB, free: 4.051 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001984/0.001984, allocations: 112.6 kB / 386.6 MB, free: 16.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.542e-05/4.544e-05, allocations: 11.92 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4888, allocations: 61.5 MB / 0.5054 GB, free: 49.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.63/18.11, allocations: 5.611 GB / 6.116 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/18.12, allocations: 91.45 kB / 6.116 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.663/21.78, allocations: 0.7295 GB / 6.846 GB, free: 54.08 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.996e-06/21.78, allocations: 1.969 kB / 6.846 GB, free: 54.08 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001063/21.78, allocations: 29.53 kB / 6.846 GB, free: 54.08 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.006931/21.79, allocations: 1.9 MB / 6.847 GB, free: 53.15 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/21.79, allocations: 13.47 kB / 6.847 GB, free: 53.15 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007094/21.79, allocations: 157.9 kB / 6.848 GB, free: 53.08 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002542/21.79, allocations: 1.197 MB / 6.849 GB, free: 52.72 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-05/21.79, allocations: 74.22 kB / 6.849 GB, free: 52.72 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/21.79, allocations: 91.09 kB / 6.849 GB, free: 52.72 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/21.79, allocations: 1.161 MB / 6.85 GB, free: 52.57 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/21.79, allocations: 0 / 6.85 GB, free: 52.57 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/21.79, allocations: 40.8 kB / 6.85 GB, free: 52.57 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/21.79, allocations: 42.59 kB / 6.85 GB, free: 52.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/21.79, allocations: 1.089 MB / 6.851 GB, free: 52.54 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.006345/21.8, allocations: 4.189 MB / 6.855 GB, free: 50.61 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/21.8, allocations: 0.5188 MB / 6.856 GB, free: 50.57 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/21.8, allocations: 320.1 kB / 6.856 GB, free: 50.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/21.8, allocations: 1.311 MB / 6.857 GB, free: 49.07 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009199/21.8, allocations: 0.5674 MB / 6.858 GB, free: 48.84 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=68): time 2.895e-06/21.8, allocations: 0 / 6.858 GB, free: 48.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=68): time 0.001755/21.8, allocations: 0.729 MB / 6.859 GB, free: 48.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002729/21.8, allocations: 0.5943 MB / 6.859 GB, free: 48.01 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/21.81, allocations: 0.8207 MB / 6.86 GB, free: 47.86 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.347e-05/21.81, allocations: 45.2 kB / 6.86 GB, free: 47.82 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/21.81, allocations: 0.5294 MB / 6.861 GB, free: 47.61 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/21.81, allocations: 232.9 kB / 6.861 GB, free: 47.46 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/21.81, allocations: 14 kB / 6.861 GB, free: 47.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001222/21.81, allocations: 339.2 kB / 6.861 GB, free: 47.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/21.81, allocations: 264.4 kB / 6.861 GB, free: 47.16 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000717/21.81, allocations: 0.5614 MB / 6.862 GB, free: 46.84 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/21.81, allocations: 361.5 kB / 6.862 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/21.81, allocations: 6.875 kB / 6.862 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001626/21.81, allocations: 0.919 MB / 6.863 GB, free: 46.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006491/21.81, allocations: 2.045 MB / 6.865 GB, free: 44.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/21.81, allocations: 3.938 kB / 6.865 GB, free: 44.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/21.81, allocations: 17.95 kB / 6.865 GB, free: 44.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/21.81, allocations: 271.3 kB / 6.865 GB, free: 44.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006154/21.81, allocations: 1.19 MB / 6.867 GB, free: 43.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/21.81, allocations: 162.5 kB / 6.867 GB, free: 43.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.049e-05/21.81, allocations: 38.94 kB / 6.867 GB, free: 43.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/21.81, allocations: 10.5 kB / 6.867 GB, free: 43.27 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001383/21.82, allocations: 0.8056 MB / 6.868 GB, free: 43.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/21.82, allocations: 3.781 kB / 6.868 GB, free: 43.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/21.82, allocations: 9.781 kB / 6.868 GB, free: 43.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008237/21.82, allocations: 219.7 kB / 6.868 GB, free: 43.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/21.82, allocations: 17.08 kB / 6.868 GB, free: 43.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/21.82, allocations: 160.7 kB / 6.868 GB, free: 43.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-05/21.82, allocations: 44.23 kB / 6.868 GB, free: 43.13 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003182/21.82, allocations: 164.1 kB / 6.868 GB, free: 43.01 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/21.82, allocations: 120.3 kB / 6.868 GB, free: 42.95 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/21.82, allocations: 0.8485 MB / 6.869 GB, free: 42.84 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/21.82, allocations: 10.34 kB / 6.869 GB, free: 42.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/21.82, allocations: 3.406 kB / 6.869 GB, free: 42.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/21.82, allocations: 7.875 kB / 6.869 GB, free: 42.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003113/21.82, allocations: 2.109 MB / 6.871 GB, free: 42.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/21.82, allocations: 7.875 kB / 6.871 GB, free: 42.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/21.83, allocations: 223.3 kB / 6.871 GB, free: 42.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/21.83, allocations: 6.938 kB / 6.871 GB, free: 42.07 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/21.83, allocations: 19.05 kB / 6.871 GB, free: 42.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005345/21.83, allocations: 1.183 MB / 6.873 GB, free: 40.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/21.83, allocations: 0 / 6.873 GB, free: 40.89 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/21.83, allocations: 1.015 MB / 6.874 GB, free: 40.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006977/21.83, allocations: 305.9 kB / 6.874 GB, free: 40.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/21.83, allocations: 20.97 kB / 6.874 GB, free: 40.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008248/21.83, allocations: 93.16 kB / 6.874 GB, free: 40.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/21.83, allocations: 73.94 kB / 6.874 GB, free: 40.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-05/21.83, allocations: 30.17 kB / 6.874 GB, free: 40.28 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001007/21.83, allocations: 0.6536 MB / 6.875 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/21.83, allocations: 0 / 6.875 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003405/21.83, allocations: 0.8356 MB / 6.876 GB, free: 40.05 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003494/21.84, allocations: 1.511 MB / 6.877 GB, free: 39.64 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003138/21.84, allocations: 1.324 MB / 6.878 GB, free: 39.44 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/21.84, allocations: 3.5 kB / 6.878 GB, free: 39.44 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/21.84, allocations: 430.2 kB / 6.879 GB, free: 39.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/21.84, allocations: 0.54 MB / 6.879 GB, free: 39.36 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006114/21.85, allocations: 1.738 MB / 6.881 GB, free: 38.88 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/21.85, allocations: 1.129 MB / 6.882 GB, free: 38.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001934/21.85, allocations: 402.5 kB / 6.882 GB, free: 38.09 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/21.85, allocations: 87.64 kB / 6.883 GB, free: 38.08 MB / 0.5417 GB Notification: Performance of SimCode: time 1.874e-06/21.85, allocations: 0 / 6.883 GB, free: 38.08 MB / 0.5417 GB Notification: Performance of Templates: time 0.0652/21.92, allocations: 44.72 MB / 6.926 GB, free: 15.04 MB / 0.5417 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.ConstantEffectiveness.pipe 2>&1)