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.001175/0.001175, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001009/0.001009, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9774/0.9774, allocations: 135.3 MB / 426.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 12 kB / 0.507 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1689, allocations: 82.3 MB / 0.5874 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.5479/0.7169, allocations: 192.4 MB / 0.7752 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01735/0.7343, allocations: 9.981 MB / 0.785 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/0.7369, allocations: 51.62 kB / 0.785 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.7392, allocations: 0.5354 MB / 0.7855 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00737/0.7466, allocations: 1.844 MB / 0.7873 GB, free: 260 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005815/0.7524, allocations: 1.747 MB / 0.789 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006747/0.7592, allocations: 3.971 MB / 0.7929 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002483/0.7617, allocations: 0.9953 MB / 0.7939 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004815/0.7665, allocations: 1.544 MB / 0.7954 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/0.7693, allocations: 1.046 MB / 0.7964 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002762/0.7696, allocations: 64 kB / 0.7965 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005961/0.7756, allocations: 2.238 MB / 0.7987 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006249/0.7762, allocations: 362.4 kB / 0.799 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008663/0.7771, allocations: 340.8 kB / 0.7993 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00388/0.781, allocations: 2.295 MB / 0.8016 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.781, allocations: 0 / 0.8016 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.781, allocations: 0 / 0.8016 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.346e-05/0.781, allocations: 0 / 0.8016 GB, free: 1.641 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.00486/0.7859, allocations: 2.042 MB / 0.8036 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.7859, allocations: 8.031 kB / 0.8036 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.7887, allocations: 0.5793 MB / 0.8042 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002464/0.7912, allocations: 1.204 MB / 0.8053 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006025/0.7918, allocations: 217.9 kB / 0.8055 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.792, allocations: 112 kB / 0.8056 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.7948, allocations: 1.349 MB / 0.807 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.7948, allocations: 0 / 0.807 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.7949, allocations: 44.45 kB / 0.807 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-05/0.795, allocations: 38 kB / 0.807 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003219/0.7982, allocations: 1.398 MB / 0.8084 GB, free: 10.51 MB / 0.6231 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.008783/0.807, allocations: 5.325 MB / 0.8136 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/0.8095, allocations: 1.074 MB / 0.8147 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.8107, allocations: 0.5664 MB / 0.8152 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/0.8119, allocations: 0.7786 MB / 0.816 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/0.8134, allocations: 0.6367 MB / 0.8166 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 3.487e-06/0.8134, allocations: 0 / 0.8166 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.004487/0.8179, allocations: 1.659 MB / 0.8182 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.818, allocations: 72 kB / 0.8183 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.8198, allocations: 1.298 MB / 0.8195 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.8199, allocations: 49.7 kB / 0.8196 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005828/0.8205, allocations: 0.6465 MB / 0.8202 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.8208, allocations: 276 kB / 0.8205 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.8209, allocations: 20 kB / 0.8205 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.821, allocations: 345.9 kB / 0.8208 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.8223, allocations: 0.5257 MB / 0.8214 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.8239, allocations: 0.7938 MB / 0.8221 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.8252, allocations: 0.6097 MB / 0.8227 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.8253, allocations: 0 / 0.8227 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003448/0.8287, allocations: 1.516 MB / 0.8242 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002432/0.829, allocations: 270.6 kB / 0.8245 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.829, allocations: 4 kB / 0.8245 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.829, allocations: 12 kB / 0.8245 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.8308, allocations: 351.5 kB / 0.8248 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007809/0.8316, allocations: 1.199 MB / 0.826 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.8332, allocations: 234.7 kB / 0.8262 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.8334, allocations: 59.95 kB / 0.8263 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.8334, allocations: 6.031 kB / 0.8263 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002997/0.8364, allocations: 1.364 MB / 0.8276 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.8364, allocations: 4 kB / 0.8276 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.8364, allocations: 12 kB / 0.8276 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.8378, allocations: 319.8 kB / 0.8279 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.8378, allocations: 16 kB / 0.8279 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.8394, allocations: 218.8 kB / 0.8281 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.8395, allocations: 55.97 kB / 0.8282 GB, free: 5.469 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 ($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.0009776/0.8405, allocations: 420.7 kB / 0.8286 GB, free: 5.047 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.8408, allocations: 154.1 kB / 0.8287 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003272/0.8441, allocations: 1.376 MB / 0.8301 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/0.8441, allocations: 11.98 kB / 0.8301 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.8441, allocations: 0 / 0.8301 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.8442, allocations: 7.984 kB / 0.8301 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005862/0.85, allocations: 2.895 MB / 0.8329 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.8501, allocations: 4 kB / 0.8329 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.8512, allocations: 248.6 kB / 0.8332 GB, free: 260 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/0.8512, allocations: 12 kB / 0.8332 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.832e-05/0.8513, allocations: 27.98 kB / 0.8332 GB, free: 220 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008396/0.8522, allocations: 1.195 MB / 0.8344 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.8522, allocations: 4 kB / 0.8344 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004573/0.8568, allocations: 2.116 MB / 0.8365 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008747/0.8576, allocations: 378.7 kB / 0.8368 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.8579, allocations: 27.94 kB / 0.8368 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.8589, allocations: 127.8 kB / 0.837 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.8591, allocations: 72.56 kB / 0.837 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-05/0.8592, allocations: 39.92 kB / 0.8371 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001397/0.8606, allocations: 0.8782 MB / 0.8379 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8606, allocations: 0 / 0.8379 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002504/0.8631, allocations: 0.7887 MB / 0.8387 GB, free: 10.48 MB / 0.6544 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 (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.001235/0.8644, allocations: 463 kB / 0.8391 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005307/0.8697, allocations: 2.124 MB / 0.8412 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.8697, allocations: 4 kB / 0.8412 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.8713, allocations: 0.6611 MB / 0.8419 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/0.8748, allocations: 0.695 MB / 0.8425 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005733/0.8806, allocations: 3.232 MB / 0.8457 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008732/0.8815, allocations: 1.227 MB / 0.8469 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001992/0.8835, allocations: 405.5 kB / 0.8473 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/0.8839, allocations: 123.4 kB / 0.8474 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of SimCode: time 1.233e-06/0.8839, allocations: 0 / 0.8474 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of Templates: time 0.3514/1.235, allocations: 28.46 MB / 0.8752 GB, free: 210.3 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)