Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.308/0.308, allocations: 54.41 MB / 61.89 MB, free: 13.77 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001176/0.001176, allocations: 183.7 kB / 75.61 MB, free: 0.7812 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.744/1.744, allocations: 194.3 MB / 283.5 MB, free: 14.87 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00159/0.00159, allocations: 108.7 kB / 341.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.234e-05/2.232e-05, allocations: 4 kB / 405.5 MB, free: 4.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4215, allocations: 57.66 MB / 463.1 MB, free: 51.8 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.356/6.778, allocations: 2.376 GB / 2.828 GB, free: 101 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/6.778, allocations: 83.89 kB / 2.828 GB, free: 101 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.7/9.478, allocations: 0.7451 GB / 3.573 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.385e-06/9.478, allocations: 0 / 3.573 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001204/9.478, allocations: 34.97 kB / 3.573 GB, free: 55.47 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.005272/9.483, allocations: 1.62 MB / 3.575 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/9.483, allocations: 14.28 kB / 3.575 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/9.486, allocations: 448.9 kB / 3.575 GB, free: 54.67 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/9.488, allocations: 1.052 MB / 3.576 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005754/9.488, allocations: 172.8 kB / 3.576 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/9.489, allocations: 62.11 kB / 3.576 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001453/9.49, allocations: 0.8938 MB / 3.577 GB, free: 54.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/9.491, allocations: 1.037 MB / 3.578 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/9.492, allocations: 1.219 kB / 3.578 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.785e-05/9.492, allocations: 2.656 kB / 3.578 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.761e-05/9.492, allocations: 52.48 kB / 3.578 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006673/9.498, allocations: 5.418 MB / 3.584 GB, free: 51.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007729/9.499, allocations: 0.5366 MB / 3.584 GB, free: 51.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/9.5, allocations: 292.5 kB / 3.584 GB, free: 51.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003345/9.5, allocations: 128.8 kB / 3.585 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006611/9.501, allocations: 0.4978 MB / 3.585 GB, free: 51.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 2.976e-06/9.501, allocations: 0 / 3.585 GB, free: 51.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=53): time 0.0017/9.502, allocations: 0.6898 MB / 3.586 GB, free: 50.99 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/9.502, allocations: 428 kB / 3.586 GB, free: 50.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006987/9.503, allocations: 0.6405 MB / 3.587 GB, free: 50.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.63e-05/9.503, allocations: 34.77 kB / 3.587 GB, free: 50.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000363/9.504, allocations: 0.5488 MB / 3.587 GB, free: 50.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/9.504, allocations: 174.5 kB / 3.587 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/9.504, allocations: 3.188 kB / 3.587 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.373e-05/9.504, allocations: 332.9 kB / 3.588 GB, free: 49.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/9.504, allocations: 286.7 kB / 3.588 GB, free: 49.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/9.505, allocations: 0.569 MB / 3.589 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/9.505, allocations: 353.3 kB / 3.589 GB, free: 49.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/9.505, allocations: 0 / 3.589 GB, free: 49.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001276/9.507, allocations: 0.8613 MB / 3.59 GB, free: 49.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003607/9.507, allocations: 2.037 MB / 3.592 GB, free: 47.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/9.507, allocations: 7.344 kB / 3.592 GB, free: 47.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/9.507, allocations: 7 kB / 3.592 GB, free: 47.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00361/9.511, allocations: 0.6984 MB / 3.592 GB, free: 47.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/9.512, allocations: 1.367 MB / 3.594 GB, free: 45.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/9.513, allocations: 206.7 kB / 3.594 GB, free: 45.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/9.513, allocations: 37.12 kB / 3.594 GB, free: 45.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/9.514, allocations: 3.906 kB / 3.594 GB, free: 45.91 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001158/9.515, allocations: 0.7263 MB / 3.595 GB, free: 45.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/9.515, allocations: 9.594 kB / 3.595 GB, free: 45.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/9.515, allocations: 6.562 kB / 3.595 GB, free: 45.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/9.516, allocations: 265.9 kB / 3.595 GB, free: 45.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/9.516, allocations: 25.14 kB / 3.595 GB, free: 45.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/9.517, allocations: 176.6 kB / 3.595 GB, free: 45.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/9.517, allocations: 37.91 kB / 3.595 GB, free: 45.87 MB / 0.5105 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 (88): * Single equations (assignments): 85 * 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.0002278/9.517, allocations: 133.1 kB / 3.595 GB, free: 45.76 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/9.517, allocations: 97.86 kB / 3.595 GB, free: 45.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/9.519, allocations: 0.7152 MB / 3.596 GB, free: 45.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/9.519, allocations: 6.969 kB / 3.596 GB, free: 45.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/9.519, allocations: 0 / 3.596 GB, free: 45.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/9.519, allocations: 10.88 kB / 3.596 GB, free: 45.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/9.521, allocations: 1.78 MB / 3.598 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/9.521, allocations: 0 / 3.598 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003136/9.524, allocations: 0.6218 MB / 3.599 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/9.524, allocations: 3.25 kB / 3.599 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/9.524, allocations: 14.14 kB / 3.599 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/9.527, allocations: 2.917 MB / 3.601 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/9.527, allocations: 3.688 kB / 3.601 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/9.528, allocations: 0.8693 MB / 3.602 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/9.529, allocations: 285.6 kB / 3.603 GB, free: 42.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/9.529, allocations: 3.781 kB / 3.603 GB, free: 42.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/9.53, allocations: 167.2 kB / 3.603 GB, free: 42.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/9.53, allocations: 54.31 kB / 3.603 GB, free: 42.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/9.53, allocations: 29.5 kB / 3.603 GB, free: 42.17 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005538/9.531, allocations: 496.7 kB / 3.603 GB, free: 42.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/9.531, allocations: 0 / 3.603 GB, free: 42.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001873/9.533, allocations: 0.6815 MB / 3.604 GB, free: 41.99 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (57): * Single equations (assignments): 53 * 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.002088/9.535, allocations: 1.818 MB / 3.606 GB, free: 41.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004226/9.539, allocations: 1.646 MB / 3.607 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/9.539, allocations: 3.5 kB / 3.607 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004671/9.544, allocations: 1.045 MB / 3.608 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/9.546, allocations: 360.1 kB / 3.609 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/9.549, allocations: 1.294 MB / 3.61 GB, free: 40.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/9.549, allocations: 1.102 MB / 3.611 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001694/9.551, allocations: 321.1 kB / 3.611 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/9.551, allocations: 68.45 kB / 3.611 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of SimCode: time 9.41e-07/9.551, allocations: 3.094 kB / 3.611 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.03945/9.591, allocations: 26.55 MB / 3.637 GB, free: 38 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)