Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json 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/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.45/0.45, allocations: 86.28 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.3 MB / 348.4 MB, free: 4.98 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008666/0.0008668, allocations: 100.5 kB / 420.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.000368, allocations: 16 kB / 0.4901 GB, free: 8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2913, allocations: 71.01 MB / 0.5594 GB, free: 43.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.618/3.91, allocations: 2.137 GB / 2.696 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/3.91, allocations: 91.95 kB / 2.697 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.81/6.719, allocations: 0.9479 GB / 3.644 GB, free: 67.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/6.72, allocations: 0 / 3.644 GB, free: 67.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001997/6.72, allocations: 43.53 kB / 3.644 GB, free: 67.69 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.007335/6.727, allocations: 2.336 MB / 3.647 GB, free: 66.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/6.727, allocations: 10.16 kB / 3.647 GB, free: 66.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003137/6.73, allocations: 0.5411 MB / 3.647 GB, free: 66.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00357/6.734, allocations: 1.425 MB / 3.649 GB, free: 65.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006062/6.735, allocations: 219.6 kB / 3.649 GB, free: 65.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000358/6.735, allocations: 116 kB / 3.649 GB, free: 65.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/6.738, allocations: 1.373 MB / 3.65 GB, free: 65.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/6.738, allocations: 3 kB / 3.65 GB, free: 65.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/6.738, allocations: 43.44 kB / 3.65 GB, free: 65.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/6.738, allocations: 49.02 kB / 3.65 GB, free: 65.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003051/6.741, allocations: 1.387 MB / 3.652 GB, free: 65.75 MB / 0.6198 GB 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.008859/6.75, allocations: 5.455 MB / 3.657 GB, free: 63.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/6.752, allocations: 1.134 MB / 3.658 GB, free: 63.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/6.753, allocations: 0.5681 MB / 3.659 GB, free: 63.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007715/6.754, allocations: 0.7498 MB / 3.66 GB, free: 62.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001286/6.756, allocations: 0.647 MB / 3.66 GB, free: 62.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=82): time 3.336e-06/6.756, allocations: 0 / 3.66 GB, free: 62.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.004031/6.76, allocations: 1.692 MB / 3.662 GB, free: 62.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/6.76, allocations: 117.5 kB / 3.662 GB, free: 62.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/6.762, allocations: 1.324 MB / 3.663 GB, free: 62.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001635/6.762, allocations: 48.45 kB / 3.663 GB, free: 62.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005014/6.762, allocations: 0.6456 MB / 3.664 GB, free: 62.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/6.763, allocations: 284.8 kB / 3.664 GB, free: 61.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.185e-05/6.763, allocations: 18.78 kB / 3.664 GB, free: 61.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.059e-05/6.763, allocations: 351.3 kB / 3.664 GB, free: 61.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/6.764, allocations: 0.5352 MB / 3.665 GB, free: 61.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/6.765, allocations: 0.8557 MB / 3.666 GB, free: 61.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/6.768, allocations: 1.255 MB / 3.667 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/6.768, allocations: 1.312 kB / 3.667 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003235/6.771, allocations: 1.552 MB / 3.669 GB, free: 60.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/6.771, allocations: 271.9 kB / 3.669 GB, free: 60.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/6.771, allocations: 6.844 kB / 3.669 GB, free: 60.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/6.771, allocations: 7.094 kB / 3.669 GB, free: 60.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/6.773, allocations: 361.6 kB / 3.669 GB, free: 60.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004961/6.773, allocations: 1.202 MB / 3.67 GB, free: 59.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/6.775, allocations: 247.7 kB / 3.671 GB, free: 59.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/6.775, allocations: 57.7 kB / 3.671 GB, free: 59.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/6.775, allocations: 10.62 kB / 3.671 GB, free: 59.37 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002801/6.778, allocations: 1.389 MB / 3.672 GB, free: 59.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/6.778, allocations: 3.625 kB / 3.672 GB, free: 59.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/6.778, allocations: 13.78 kB / 3.672 GB, free: 59.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/6.779, allocations: 333.1 kB / 3.672 GB, free: 59.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/6.779, allocations: 12.91 kB / 3.672 GB, free: 59.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/6.781, allocations: 228.4 kB / 3.673 GB, free: 59.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/6.781, allocations: 61.02 kB / 3.673 GB, free: 59.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * 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.0007537/6.782, allocations: 415.6 kB / 3.673 GB, free: 59.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003446/6.782, allocations: 156.5 kB / 3.673 GB, free: 58.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/6.785, allocations: 1.41 MB / 3.675 GB, free: 58.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/6.785, allocations: 7.812 kB / 3.675 GB, free: 58.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/6.785, allocations: 4 kB / 3.675 GB, free: 58.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/6.785, allocations: 3.703 kB / 3.675 GB, free: 58.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/6.791, allocations: 2.914 MB / 3.677 GB, free: 58.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/6.791, allocations: 3.781 kB / 3.677 GB, free: 58.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/6.792, allocations: 237.9 kB / 3.678 GB, free: 58.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.831e-05/6.792, allocations: 17.72 kB / 3.678 GB, free: 58.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/6.792, allocations: 36.64 kB / 3.678 GB, free: 58.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003749/6.792, allocations: 1.183 MB / 3.679 GB, free: 57.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/6.792, allocations: 3.594 kB / 3.679 GB, free: 57.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003959/6.796, allocations: 2.172 MB / 3.681 GB, free: 56.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007554/6.797, allocations: 368.5 kB / 3.681 GB, free: 56.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003989/6.797, allocations: 27.97 kB / 3.681 GB, free: 56.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/6.799, allocations: 140.9 kB / 3.682 GB, free: 56.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/6.799, allocations: 74.72 kB / 3.682 GB, free: 56.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.202e-05/6.799, allocations: 39.17 kB / 3.682 GB, free: 56.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001582/6.801, allocations: 0.8862 MB / 3.682 GB, free: 56.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/6.801, allocations: 0 / 3.682 GB, free: 56.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00348/6.804, allocations: 0.9967 MB / 3.683 GB, free: 56.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003285/6.808, allocations: 2.12 MB / 3.686 GB, free: 55.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00478/6.812, allocations: 2.177 MB / 3.688 GB, free: 55.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/6.812, allocations: 3.938 kB / 3.688 GB, free: 55.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/6.814, allocations: 0.6719 MB / 3.688 GB, free: 55.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004017/6.818, allocations: 0.676 MB / 3.689 GB, free: 55.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005203/6.823, allocations: 3.242 MB / 3.692 GB, free: 53.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/6.824, allocations: 1.229 MB / 3.693 GB, free: 52.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002054/6.826, allocations: 415 kB / 3.694 GB, free: 52.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/6.826, allocations: 125.2 kB / 3.694 GB, free: 52.76 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/6.826, allocations: 0 / 3.694 GB, free: 52.76 MB / 0.6198 GB Notification: Performance of Templates: time 0.06195/6.888, allocations: 49.33 MB / 3.742 GB, free: 18.61 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)