Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0009562/0.0009562, allocations: 97.56 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005988/0.005989, allocations: 169 kB / 16.26 MB, free: 6.652 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.345/1.345, allocations: 223.3 MB / 240.3 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7783/0.7783, allocations: 132.3 MB / 423.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003145, allocations: 8.812 kB / 0.504 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.437, allocations: 81.58 MB / 0.5837 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.2389/0.676, allocations: 205.9 MB / 0.7848 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01941/0.6954, allocations: 10.71 MB / 0.7952 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003097/0.6986, allocations: 51.62 kB / 0.7953 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.7015, allocations: 0.6797 MB / 0.7959 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008624/0.7101, allocations: 2.246 MB / 0.7981 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00695/0.7171, allocations: 2.028 MB / 0.8001 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007354/0.7245, allocations: 4.592 MB / 0.8046 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002881/0.7274, allocations: 1.11 MB / 0.8057 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005558/0.733, allocations: 1.7 MB / 0.8073 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003214/0.7362, allocations: 1.103 MB / 0.8084 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006806/0.7369, allocations: 60 kB / 0.8085 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007146/0.7441, allocations: 3.169 MB / 0.8116 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009152/0.745, allocations: 378.3 kB / 0.8119 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002137/0.7472, allocations: 0.8174 MB / 0.8127 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007196/0.7544, allocations: 3.279 MB / 0.8159 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7544, allocations: 0 / 0.8159 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7544, allocations: 0 / 0.8159 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001013/0.7545, allocations: 4 kB / 0.8159 GB, free: 1.785 MB / 0.6387 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.364/1.118, allocations: 2.02 MB / 0.8179 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/1.119, allocations: 9.312 kB / 0.8179 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003608/1.122, allocations: 0.5806 MB / 0.8185 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/1.125, allocations: 1.253 MB / 0.8197 GB, free: 219.9 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007351/1.126, allocations: 217.2 kB / 0.8199 GB, free: 219.9 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/1.126, allocations: 113.2 kB / 0.82 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003068/1.129, allocations: 1.356 MB / 0.8213 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/1.129, allocations: 1.312 kB / 0.8213 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/1.129, allocations: 40.34 kB / 0.8214 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.843e-05/1.129, allocations: 47.59 kB / 0.8214 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003703/1.133, allocations: 1.395 MB / 0.8228 GB, free: 218.8 MB / 0.6387 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.009242/1.142, allocations: 5.328 MB / 0.828 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/1.145, allocations: 1.087 MB / 0.829 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/1.146, allocations: 0.5716 MB / 0.8296 GB, free: 215 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/1.148, allocations: 0.7769 MB / 0.8304 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001713/1.149, allocations: 0.6318 MB / 0.831 GB, free: 214 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/1.149, allocations: 0 / 0.831 GB, free: 214 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.005243/1.155, allocations: 1.661 MB / 0.8326 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/1.155, allocations: 65.28 kB / 0.8327 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/1.157, allocations: 1.33 MB / 0.834 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/1.157, allocations: 44.67 kB / 0.834 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005308/1.157, allocations: 0.6405 MB / 0.8346 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/1.158, allocations: 286.2 kB / 0.8349 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/1.158, allocations: 97.72 kB / 0.835 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/1.158, allocations: 343.7 kB / 0.8353 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/1.159, allocations: 0.5301 MB / 0.8358 GB, free: 211 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/1.161, allocations: 0.8051 MB / 0.8366 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/1.164, allocations: 1.241 MB / 0.8378 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.164, allocations: 5.969 kB / 0.8378 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00405/1.168, allocations: 1.527 MB / 0.8393 GB, free: 209 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.00015/1.168, allocations: 268.2 kB / 0.8396 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.168, allocations: 4.219 kB / 0.8396 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.565e-05/1.168, allocations: 14.25 kB / 0.8396 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/1.17, allocations: 351.7 kB / 0.8399 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004842/1.17, allocations: 1.2 MB / 0.8411 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/1.172, allocations: 236.6 kB / 0.8413 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/1.172, allocations: 53.41 kB / 0.8414 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/1.172, allocations: 2.688 kB / 0.8414 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003301/1.176, allocations: 1.37 MB / 0.8427 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.176, allocations: 6.375 kB / 0.8427 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.176, allocations: 20.44 kB / 0.8428 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/1.177, allocations: 318.8 kB / 0.8431 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/1.177, allocations: 17.36 kB / 0.8431 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/1.179, allocations: 222.3 kB / 0.8433 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.179, allocations: 52.12 kB / 0.8433 GB, free: 206.3 MB / 0.6387 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 (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 (133): * Single equations (assignments): 130 * 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.0009134/1.18, allocations: 417.1 kB / 0.8437 GB, free: 206 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004473/1.181, allocations: 160.8 kB / 0.8439 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003508/1.184, allocations: 1.374 MB / 0.8452 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/1.184, allocations: 11.88 kB / 0.8452 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.184, allocations: 4 kB / 0.8452 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.184, allocations: 3.984 kB / 0.8453 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005097/1.189, allocations: 2.898 MB / 0.8481 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/1.189, allocations: 8.125 kB / 0.8481 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/1.191, allocations: 238.3 kB / 0.8483 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/1.191, allocations: 3.969 kB / 0.8483 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/1.191, allocations: 35.78 kB / 0.8484 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003744/1.191, allocations: 1.187 MB / 0.8495 GB, free: 202 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.191, allocations: 7.938 kB / 0.8495 GB, free: 202 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/1.195, allocations: 2.139 MB / 0.8516 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006186/1.196, allocations: 367.8 kB / 0.852 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/1.196, allocations: 25.47 kB / 0.852 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.197, allocations: 123.8 kB / 0.8521 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/1.198, allocations: 76.44 kB / 0.8522 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-05/1.198, allocations: 42.16 kB / 0.8522 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001042/1.199, allocations: 0.8896 MB / 0.8531 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/1.199, allocations: 0 / 0.8531 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001852/1.201, allocations: 0.7892 MB / 0.8539 GB, free: 198.9 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: 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 (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.0008788/1.201, allocations: 472.4 kB / 0.8543 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004733/1.206, allocations: 2.142 MB / 0.8564 GB, free: 196.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.206, allocations: 0 / 0.8564 GB, free: 196.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/1.208, allocations: 0.6611 MB / 0.857 GB, free: 195.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004941/1.213, allocations: 0.6939 MB / 0.8577 GB, free: 195 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/1.217, allocations: 3.328 MB / 0.861 GB, free: 191.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/1.218, allocations: 1.231 MB / 0.8622 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001786/1.22, allocations: 409.9 kB / 0.8626 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/1.22, allocations: 127.4 kB / 0.8627 GB, free: 189.8 MB / 0.6387 GB Notification: Performance of SimCode: time 6.11e-07/1.22, allocations: 0 / 0.8627 GB, free: 189.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.0417/1.262, allocations: 29.27 MB / 0.8913 GB, free: 160.9 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)