Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008313/0.0008317, allocations: 92.16 kB / 16.02 MB, free: 80 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.001251/0.001251, allocations: 178.5 kB / 16.92 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.333/1.333, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9279/0.9279, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003437, allocations: 12.28 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1564, allocations: 82.31 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.5013/0.6578, allocations: 205.9 MB / 0.7897 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01553/0.6734, allocations: 10.7 MB / 0.8001 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.6757, allocations: 55.62 kB / 0.8002 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002451/0.6782, allocations: 0.672 MB / 0.8008 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006925/0.6851, allocations: 2.249 MB / 0.803 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005593/0.6908, allocations: 2.034 MB / 0.805 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006052/0.6968, allocations: 4.576 MB / 0.8095 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/0.699, allocations: 1.121 MB / 0.8106 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004224/0.7032, allocations: 1.7 MB / 0.8122 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.7057, allocations: 1.102 MB / 0.8133 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003492/0.7061, allocations: 64 kB / 0.8134 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00569/0.7118, allocations: 3.169 MB / 0.8165 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000815/0.7127, allocations: 378.3 kB / 0.8168 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.7141, allocations: 0.8136 MB / 0.8176 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004022/0.7181, allocations: 2.385 MB / 0.82 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.7182, allocations: 3.984 kB / 0.82 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7182, allocations: 0 / 0.82 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.965e-05/0.7182, allocations: 0 / 0.82 GB, free: 15.43 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.004838/0.7231, allocations: 2.032 MB / 0.8219 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.7231, allocations: 8.031 kB / 0.822 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003092/0.7262, allocations: 0.5794 MB / 0.8225 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.7289, allocations: 1.263 MB / 0.8238 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000673/0.7296, allocations: 213.9 kB / 0.824 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/0.7299, allocations: 112 kB / 0.8241 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/0.7326, allocations: 1.357 MB / 0.8254 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.7327, allocations: 0 / 0.8254 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.7328, allocations: 40 kB / 0.8254 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/0.7328, allocations: 42 kB / 0.8255 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003266/0.7361, allocations: 1.405 MB / 0.8268 GB, free: 8.238 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.008712/0.7449, allocations: 5.327 MB / 0.832 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.7474, allocations: 1.07 MB / 0.8331 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.7487, allocations: 0.5702 MB / 0.8336 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.7497, allocations: 0.7825 MB / 0.8344 GB, free: 16 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001489/0.7512, allocations: 0.6367 MB / 0.835 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.055e-06/0.7512, allocations: 0 / 0.835 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.004509/0.7558, allocations: 1.663 MB / 0.8367 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.7558, allocations: 64.06 kB / 0.8367 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.7576, allocations: 1.318 MB / 0.838 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.7578, allocations: 53.64 kB / 0.8381 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005236/0.7584, allocations: 0.6465 MB / 0.8387 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.7586, allocations: 279.9 kB / 0.8389 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.7588, allocations: 101.7 kB / 0.839 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.7589, allocations: 345.9 kB / 0.8394 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.7603, allocations: 0.5335 MB / 0.8399 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.7619, allocations: 0.7972 MB / 0.8407 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002862/0.7648, allocations: 1.245 MB / 0.8419 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.7648, allocations: 0 / 0.8419 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003831/0.7686, allocations: 1.528 MB / 0.8434 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.7688, allocations: 266.7 kB / 0.8436 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.7689, allocations: 8 kB / 0.8436 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.7689, allocations: 8 kB / 0.8437 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.7707, allocations: 359.5 kB / 0.844 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000698/0.7714, allocations: 1.195 MB / 0.8452 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.7733, allocations: 234.7 kB / 0.8454 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/0.7735, allocations: 55.97 kB / 0.8454 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.7735, allocations: 10.03 kB / 0.8455 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003312/0.7768, allocations: 1.364 MB / 0.8468 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.7769, allocations: 8 kB / 0.8468 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.7769, allocations: 8 kB / 0.8468 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.7783, allocations: 327.7 kB / 0.8471 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.7784, allocations: 15.94 kB / 0.8471 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.7801, allocations: 218.8 kB / 0.8473 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.7802, allocations: 55.97 kB / 0.8474 GB, free: 2.348 MB / 0.6544 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.0007495/0.781, allocations: 417.3 kB / 0.8478 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003693/0.7814, allocations: 154 kB / 0.8479 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/0.7848, allocations: 1.385 MB / 0.8493 GB, free: 400 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.7848, allocations: 11.98 kB / 0.8493 GB, free: 388 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.7848, allocations: 0 / 0.8493 GB, free: 388 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.7849, allocations: 3.984 kB / 0.8493 GB, free: 384 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005725/0.7906, allocations: 2.903 MB / 0.8521 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.7906, allocations: 4 kB / 0.8521 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.7918, allocations: 235.8 kB / 0.8524 GB, free: 13.13 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/0.7919, allocations: 8 kB / 0.8524 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.853e-05/0.7919, allocations: 27.98 kB / 0.8524 GB, free: 13.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005686/0.7925, allocations: 1.192 MB / 0.8536 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.7925, allocations: 7.938 kB / 0.8536 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004633/0.7972, allocations: 2.14 MB / 0.8557 GB, free: 9.648 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007908/0.798, allocations: 374.7 kB / 0.856 GB, free: 9.262 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/0.7983, allocations: 20 kB / 0.856 GB, free: 9.242 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.7997, allocations: 127.9 kB / 0.8562 GB, free: 9.117 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.7998, allocations: 80.44 kB / 0.8562 GB, free: 9.039 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-05/0.7999, allocations: 43.97 kB / 0.8563 GB, free: 8.996 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001315/0.8013, allocations: 0.8899 MB / 0.8571 GB, free: 8.109 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8013, allocations: 0 / 0.8571 GB, free: 8.109 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002349/0.8036, allocations: 0.7849 MB / 0.8579 GB, free: 7.324 MB / 0.67 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.001148/0.8048, allocations: 476.5 kB / 0.8584 GB, free: 6.867 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005538/0.8103, allocations: 2.136 MB / 0.8605 GB, free: 4.707 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.8104, allocations: 4 kB / 0.8605 GB, free: 4.703 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.8121, allocations: 0.6571 MB / 0.8611 GB, free: 4.043 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004356/0.8165, allocations: 0.6759 MB / 0.8618 GB, free: 3.375 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2785/1.095, allocations: 3.37 MB / 0.865 GB, free: 215 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008687/1.096, allocations: 1.223 MB / 0.8662 GB, free: 214.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006669/1.097, allocations: 137.7 kB / 0.8664 GB, free: 214.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.393e-06/1.097, allocations: 0 / 0.8664 GB, free: 214.3 MB / 0.67 GB Notification: Performance of Templates: time 0.0513/1.148, allocations: 37.69 MB / 0.9032 GB, free: 207.2 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)