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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 93.34 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 185.9 kB / 16.92 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.684/0.684, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002948, allocations: 13.25 kB / 495.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1388, allocations: 77.53 MB / 0.5599 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.4714/0.6103, allocations: 205.9 MB / 0.761 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01572/0.626, allocations: 10.71 MB / 0.7715 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.6277, allocations: 55.62 kB / 0.7715 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.6296, allocations: 0.672 MB / 0.7722 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005812/0.6354, allocations: 2.264 MB / 0.7744 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005368/0.6408, allocations: 2.045 MB / 0.7764 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005606/0.6464, allocations: 4.584 MB / 0.7809 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.6482, allocations: 1.106 MB / 0.7819 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003604/0.6519, allocations: 1.7 MB / 0.7836 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.6539, allocations: 1.116 MB / 0.7847 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.6542, allocations: 60 kB / 0.7847 GB, free: 452 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005315/0.6595, allocations: 3.174 MB / 0.7878 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005123/0.66, allocations: 374.3 kB / 0.7882 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.6611, allocations: 0.8252 MB / 0.789 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005065/0.6662, allocations: 3.283 MB / 0.7922 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6662, allocations: 0 / 0.7922 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6662, allocations: 0 / 0.7922 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.274e-05/0.6663, allocations: 0 / 0.7922 GB, free: 8.766 MB / 0.6075 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.004492/0.6707, allocations: 2.03 MB / 0.7942 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.6708, allocations: 12.03 kB / 0.7942 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/0.6738, allocations: 0.5755 MB / 0.7948 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.6762, allocations: 1.257 MB / 0.796 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007019/0.6769, allocations: 218.2 kB / 0.7962 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.6771, allocations: 108 kB / 0.7963 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/0.6798, allocations: 1.349 MB / 0.7976 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.6799, allocations: 0 / 0.7976 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.68, allocations: 44 kB / 0.7977 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.268e-05/0.6801, allocations: 45.98 kB / 0.7977 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/0.6834, allocations: 1.397 MB / 0.7991 GB, free: 1.59 MB / 0.6075 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.008573/0.692, allocations: 5.326 MB / 0.8043 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.6946, allocations: 1.058 MB / 0.8053 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.6959, allocations: 0.5649 MB / 0.8059 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.697, allocations: 0.7747 MB / 0.8066 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001488/0.6985, allocations: 0.6289 MB / 0.8072 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=81): time 3.927e-06/0.6985, allocations: 0 / 0.8072 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81): time 0.004487/0.703, allocations: 1.652 MB / 0.8089 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.7031, allocations: 68 kB / 0.8089 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.7049, allocations: 1.326 MB / 0.8102 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.705, allocations: 49.7 kB / 0.8103 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005193/0.7056, allocations: 0.6465 MB / 0.8109 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.7058, allocations: 279.9 kB / 0.8112 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.706, allocations: 93.67 kB / 0.8112 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.7061, allocations: 349.9 kB / 0.8116 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.7075, allocations: 0.5179 MB / 0.8121 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.7091, allocations: 0.7877 MB / 0.8129 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/0.7119, allocations: 1.221 MB / 0.814 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.7119, allocations: 4 kB / 0.814 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003607/0.7155, allocations: 1.505 MB / 0.8155 GB, free: 36 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.7157, allocations: 261.8 kB / 0.8158 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.7157, allocations: 4 kB / 0.8158 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.7158, allocations: 8 kB / 0.8158 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.7176, allocations: 351.5 kB / 0.8161 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007241/0.7183, allocations: 1.203 MB / 0.8173 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.7199, allocations: 234.2 kB / 0.8175 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.7201, allocations: 59.97 kB / 0.8176 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.7201, allocations: 7.938 kB / 0.8176 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003254/0.7233, allocations: 1.349 MB / 0.8189 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.7233, allocations: 4 kB / 0.8189 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.7234, allocations: 12 kB / 0.8189 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.7248, allocations: 319.7 kB / 0.8192 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.7249, allocations: 12 kB / 0.8192 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.7264, allocations: 226.8 kB / 0.8194 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.7265, allocations: 47.98 kB / 0.8195 GB, free: 11.84 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006505/0.7271, allocations: 414.3 kB / 0.8199 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.7274, allocations: 154.1 kB / 0.82 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/0.7308, allocations: 1.36 MB / 0.8214 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.7309, allocations: 8 kB / 0.8214 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7309, allocations: 0 / 0.8214 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.7309, allocations: 7.969 kB / 0.8214 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005394/0.7363, allocations: 2.894 MB / 0.8242 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.7363, allocations: 4 kB / 0.8242 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.7375, allocations: 244.2 kB / 0.8244 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.7376, allocations: 11.94 kB / 0.8244 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.379e-05/0.7376, allocations: 31.97 kB / 0.8245 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005697/0.7382, allocations: 1.192 MB / 0.8256 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.7382, allocations: 8.062 kB / 0.8256 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004624/0.7429, allocations: 2.116 MB / 0.8277 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000545/0.7434, allocations: 370.7 kB / 0.8281 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.7436, allocations: 24 kB / 0.8281 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.745, allocations: 152.4 kB / 0.8282 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.7452, allocations: 72.44 kB / 0.8283 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-05/0.7453, allocations: 43.97 kB / 0.8283 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001216/0.7465, allocations: 0.8978 MB / 0.8292 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7465, allocations: 0 / 0.8292 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001913/0.7484, allocations: 0.7926 MB / 0.83 GB, free: 0.8242 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/0.7495, allocations: 481.2 kB / 0.8305 GB, free: 368 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.2346/0.9841, allocations: 2.109 MB / 0.8325 GB, free: 230.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.9841, allocations: 0.625 kB / 0.8325 GB, free: 230.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002125/0.9863, allocations: 0.6474 MB / 0.8332 GB, free: 230.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004879/0.9912, allocations: 0.6837 MB / 0.8338 GB, free: 230.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006103/0.9973, allocations: 3.322 MB / 0.8371 GB, free: 229.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.9985, allocations: 1.227 MB / 0.8383 GB, free: 228.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002576/1.001, allocations: 412.8 kB / 0.8387 GB, free: 228.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004553/1.002, allocations: 124.2 kB / 0.8388 GB, free: 228.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.122e-06/1.002, allocations: 0 / 0.8388 GB, free: 228.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.04871/1.05, allocations: 29.38 MB / 0.8675 GB, free: 217.7 MB / 0.6387 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)