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.5403/0.5403, allocations: 94.77 MB / 102.2 MB, free: 10.15 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.001091/0.001091, allocations: 170.3 kB / 125.5 MB, free: 11.89 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.71/1.71, allocations: 170.6 MB / 319.4 MB, free: 9.344 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.001823/0.001823, allocations: 100.8 kB / 381.3 MB, free: 18.33 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.304e-05/2.301e-05, allocations: 7.984 kB / 449.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1985, allocations: 61.52 MB / 0.4987 GB, free: 4.152 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18/18.2, allocations: 5.61 GB / 6.109 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/18.2, allocations: 83.67 kB / 6.109 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.169/21.37, allocations: 0.7225 GB / 6.831 GB, free: 54.35 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.226e-06/21.37, allocations: 0 / 6.831 GB, free: 54.35 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002624/21.37, allocations: 38.14 kB / 6.831 GB, free: 54.34 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.01019/21.38, allocations: 1.898 MB / 6.833 GB, free: 53.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.953e-05/21.38, allocations: 10.53 kB / 6.833 GB, free: 53.23 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/21.38, allocations: 161.6 kB / 6.833 GB, free: 53.16 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004711/21.39, allocations: 1.188 MB / 6.834 GB, free: 52.51 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/21.39, allocations: 33.83 kB / 6.834 GB, free: 52.51 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004722/21.39, allocations: 60.97 kB / 6.835 GB, free: 52.51 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003068/21.39, allocations: 0.9607 MB / 6.835 GB, free: 52.16 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/21.39, allocations: 1.01 MB / 6.836 GB, free: 51.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/21.39, allocations: 0 / 6.836 GB, free: 51.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.857e-05/21.39, allocations: 0 / 6.836 GB, free: 51.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-05/21.39, allocations: 50.47 kB / 6.837 GB, free: 51.72 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.007108/21.4, allocations: 3.993 MB / 6.84 GB, free: 49.12 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008656/21.4, allocations: 0.5122 MB / 6.841 GB, free: 48.92 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/21.4, allocations: 303.7 kB / 6.841 GB, free: 48.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/21.4, allocations: 1.31 MB / 6.842 GB, free: 47.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000726/21.4, allocations: 0.5453 MB / 6.843 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=68): time 2.836e-06/21.4, allocations: 0 / 6.843 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=68): time 0.001902/21.4, allocations: 0.7311 MB / 6.844 GB, free: 46.69 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002547/21.4, allocations: 0.5953 MB / 6.844 GB, free: 45.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007829/21.41, allocations: 0.582 MB / 6.845 GB, free: 45.69 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.027e-05/21.41, allocations: 32.92 kB / 6.845 GB, free: 45.66 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/21.41, allocations: 0.5469 MB / 6.845 GB, free: 45.22 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/21.41, allocations: 222.1 kB / 6.846 GB, free: 45.05 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/21.41, allocations: 0 / 6.846 GB, free: 45.05 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001036/21.41, allocations: 340.6 kB / 6.846 GB, free: 44.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/21.41, allocations: 259.6 kB / 6.846 GB, free: 44.64 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000615/21.41, allocations: 0.5504 MB / 6.847 GB, free: 44.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/21.41, allocations: 422.8 kB / 6.847 GB, free: 44.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/21.41, allocations: 3.781 kB / 6.847 GB, free: 44.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001832/21.41, allocations: 0.9251 MB / 6.848 GB, free: 43.76 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007286/21.41, allocations: 2.052 MB / 6.85 GB, free: 41.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/21.41, allocations: 7.969 kB / 6.85 GB, free: 41.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-05/21.41, allocations: 9.719 kB / 6.85 GB, free: 41.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/21.41, allocations: 275.7 kB / 6.85 GB, free: 41.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008953/21.41, allocations: 1.209 MB / 6.852 GB, free: 40.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/21.41, allocations: 135.1 kB / 6.852 GB, free: 40.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/21.41, allocations: 44.97 kB / 6.852 GB, free: 40.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/21.41, allocations: 5.938 kB / 6.852 GB, free: 40.3 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001662/21.42, allocations: 0.7754 MB / 6.852 GB, free: 40 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/21.42, allocations: 6.938 kB / 6.852 GB, free: 40 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/21.42, allocations: 14 kB / 6.852 GB, free: 40 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009378/21.42, allocations: 227.2 kB / 6.853 GB, free: 39.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/21.42, allocations: 12.69 kB / 6.853 GB, free: 39.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/21.42, allocations: 120 kB / 6.853 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-05/21.42, allocations: 41.22 kB / 6.853 GB, free: 39.87 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.0003572/21.42, allocations: 132.5 kB / 6.853 GB, free: 39.74 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/21.42, allocations: 98.5 kB / 6.853 GB, free: 39.69 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/21.42, allocations: 0.872 MB / 6.854 GB, free: 39.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/21.42, allocations: 15.28 kB / 6.854 GB, free: 39.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/21.42, allocations: 7.969 kB / 6.854 GB, free: 39.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/21.42, allocations: 3.984 kB / 6.854 GB, free: 39.19 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004656/21.43, allocations: 2.267 MB / 6.856 GB, free: 37.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/21.43, allocations: 3.812 kB / 6.856 GB, free: 37.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/21.43, allocations: 225.9 kB / 6.856 GB, free: 37.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.734e-05/21.43, allocations: 7.719 kB / 6.856 GB, free: 37.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.36e-05/21.43, allocations: 11.89 kB / 6.856 GB, free: 37.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/21.43, allocations: 1.207 MB / 6.858 GB, free: 36.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/21.43, allocations: 3.844 kB / 6.858 GB, free: 36.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/21.43, allocations: 1.071 MB / 6.859 GB, free: 35.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007427/21.43, allocations: 286.7 kB / 6.859 GB, free: 35.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002678/21.43, allocations: 12 kB / 6.859 GB, free: 35.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/21.43, allocations: 87.86 kB / 6.859 GB, free: 35.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/21.43, allocations: 64.41 kB / 6.859 GB, free: 35.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/21.43, allocations: 35.98 kB / 6.859 GB, free: 34.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007717/21.43, allocations: 463.1 kB / 6.86 GB, free: 34.53 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.11e-07/21.43, allocations: 0 / 6.86 GB, free: 34.53 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003791/21.44, allocations: 0.8015 MB / 6.86 GB, free: 33.73 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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.004485/21.44, allocations: 1.697 MB / 6.862 GB, free: 32.24 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003199/21.45, allocations: 1.291 MB / 6.863 GB, free: 30.93 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/21.45, allocations: 4.312 kB / 6.863 GB, free: 30.92 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/21.45, allocations: 425.8 kB / 6.864 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/21.45, allocations: 386.6 kB / 6.864 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/21.45, allocations: 1.329 MB / 6.865 GB, free: 28.74 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/21.45, allocations: 1.129 MB / 6.866 GB, free: 27.58 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002045/21.46, allocations: 346.1 kB / 6.867 GB, free: 27.26 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/21.46, allocations: 87.39 kB / 6.867 GB, free: 27.17 MB / 0.5417 GB Notification: Performance of SimCode: time 4.097e-06/21.46, allocations: 0 / 6.867 GB, free: 27.17 MB / 0.5417 GB Notification: Performance of Templates: time 0.05067/21.51, allocations: 27.72 MB / 6.894 GB, free: 15.78 MB / 0.5573 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)