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.001333/0.001333, allocations: 104.8 kB / 16.41 MB, free: 6.008 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.001332/0.001333, allocations: 188.1 kB / 17.34 MB, free: 5.629 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8228/0.8228, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 71.69 kB / 0.5863 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.172, allocations: 80.93 MB / 0.6653 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6884/0.8604, allocations: 211.1 MB / 0.8714 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01858/0.8791, allocations: 10.61 MB / 0.8818 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003106/0.8822, allocations: 59.62 kB / 0.8818 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002982/0.8853, allocations: 0.8343 MB / 0.8827 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00813/0.8934, allocations: 2.453 MB / 0.8851 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006948/0.9004, allocations: 2.293 MB / 0.8873 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00647/0.9069, allocations: 3.697 MB / 0.8909 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003059/0.91, allocations: 1.337 MB / 0.8922 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005667/0.9157, allocations: 1.983 MB / 0.8941 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/0.9183, allocations: 1.148 MB / 0.8953 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007162/0.9191, allocations: 159.9 kB / 0.8954 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006428/0.9255, allocations: 3.072 MB / 0.8984 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.9266, allocations: 466.3 kB / 0.8989 GB, free: 28 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002063/0.9287, allocations: 0.9017 MB / 0.8997 GB, free: 15.12 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007567/0.9363, allocations: 3.354 MB / 0.903 GB, free: 11.76 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.9363, allocations: 0 / 0.903 GB, free: 11.76 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.745e-06/0.9363, allocations: 0 / 0.903 GB, free: 11.76 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001067/0.9364, allocations: 0 / 0.903 GB, free: 11.76 MB / 0.67 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.007382/0.9438, allocations: 2.349 MB / 0.9053 GB, free: 9.348 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.9439, allocations: 9.109 kB / 0.9053 GB, free: 9.34 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/0.9472, allocations: 0.5364 MB / 0.9058 GB, free: 8.801 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003329/0.9506, allocations: 1.311 MB / 0.9071 GB, free: 7.434 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.9507, allocations: 86 kB / 0.9072 GB, free: 7.352 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/0.9511, allocations: 115.9 kB / 0.9073 GB, free: 7.238 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/0.9543, allocations: 1.318 MB / 0.9086 GB, free: 5.887 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.9544, allocations: 3.938 kB / 0.9086 GB, free: 5.883 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.9545, allocations: 43.94 kB / 0.9087 GB, free: 5.84 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/0.9546, allocations: 46 kB / 0.9087 GB, free: 5.797 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/0.9579, allocations: 1.331 MB / 0.91 GB, free: 4.461 MB / 0.67 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.01008/0.968, allocations: 5.271 MB / 0.9151 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/0.9704, allocations: 1.012 MB / 0.9161 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.9716, allocations: 0.5415 MB / 0.9167 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/0.9728, allocations: 0.7513 MB / 0.9174 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/0.9743, allocations: 0.6016 MB / 0.918 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 3.848e-06/0.9743, allocations: 0 / 0.918 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.004585/0.9789, allocations: 1.573 MB / 0.9195 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.979, allocations: 64.06 kB / 0.9196 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/0.9813, allocations: 1.325 MB / 0.9209 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001786/0.9815, allocations: 45.7 kB / 0.9209 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006502/0.9821, allocations: 0.6348 MB / 0.9215 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/0.9824, allocations: 291.9 kB / 0.9218 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005202/0.983, allocations: 238.7 kB / 0.922 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.9832, allocations: 349.9 kB / 0.9224 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.9845, allocations: 0.5017 MB / 0.9229 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.9861, allocations: 0.7737 MB / 0.9236 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/0.9887, allocations: 1.175 MB / 0.9248 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/0.9888, allocations: 0 / 0.9248 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00368/0.9924, allocations: 1.462 MB / 0.9262 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.9925, allocations: 33.7 kB / 0.9262 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.9925, allocations: 4 kB / 0.9262 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/0.9926, allocations: 15.94 kB / 0.9262 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.9944, allocations: 345 kB / 0.9266 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008893/0.9953, allocations: 1.188 MB / 0.9277 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.9972, allocations: 200.4 kB / 0.9279 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.9974, allocations: 55.91 kB / 0.928 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001914/0.9993, allocations: 0.7562 MB / 0.9287 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001623/1.001, allocations: 0.7815 MB / 0.9295 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002617/1.004, allocations: 1.163 MB / 0.9306 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.693e-06/1.004, allocations: 0 / 0.9306 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of matching and sorting (n=134) (initialization_lambda0): time 0.003677/1.007, allocations: 1.454 MB / 0.932 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/1.007, allocations: 33.7 kB / 0.9321 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.007, allocations: 7.984 kB / 0.9321 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/1.007, allocations: 12 kB / 0.9321 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/1.009, allocations: 311.7 kB / 0.9324 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.658e-05/1.009, allocations: 11.94 kB / 0.9324 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/1.011, allocations: 167.1 kB / 0.9326 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/1.011, allocations: 51.98 kB / 0.9326 GB, free: 12.32 MB / 0.7012 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.0004363/1.011, allocations: 249.8 kB / 0.9328 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005017/1.012, allocations: 162 kB / 0.933 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003487/1.015, allocations: 1.299 MB / 0.9343 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/1.015, allocations: 12 kB / 0.9343 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.015, allocations: 0 / 0.9343 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/1.015, allocations: 11.91 kB / 0.9343 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006223/1.022, allocations: 2.839 MB / 0.9371 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.022, allocations: 4 kB / 0.9371 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/1.023, allocations: 227.9 kB / 0.9373 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.998e-05/1.023, allocations: 8 kB / 0.9373 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.14e-05/1.023, allocations: 27.98 kB / 0.9373 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006855/1.024, allocations: 1.195 MB / 0.9385 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/1.024, allocations: 7.938 kB / 0.9385 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004546/1.028, allocations: 2.046 MB / 0.9405 GB, free: 4.02 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009039/1.029, allocations: 358.8 kB / 0.9408 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003825/1.03, allocations: 20 kB / 0.9409 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/1.031, allocations: 91.91 kB / 0.9409 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/1.031, allocations: 80.44 kB / 0.941 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.031, allocations: 35.97 kB / 0.9411 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001754/1.033, allocations: 0.8899 MB / 0.9419 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.81e-07/1.033, allocations: 0 / 0.9419 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002722/1.036, allocations: 0.784 MB / 0.9427 GB, free: 1.754 MB / 0.7012 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.001483/1.037, allocations: 474.4 kB / 0.9431 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005884/1.043, allocations: 2.053 MB / 0.9451 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.043, allocations: 0 / 0.9451 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001684/1.045, allocations: 0.6143 MB / 0.9457 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003731/1.049, allocations: 0.6774 MB / 0.9464 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006316/1.055, allocations: 2.73 MB / 0.9491 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.056, allocations: 1.227 MB / 0.9503 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007146/1.057, allocations: 135.4 kB / 0.9504 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of SimCode: time 9.62e-07/1.057, allocations: 0 / 0.9504 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of Templates: time 0.05737/1.114, allocations: 38.15 MB / 0.9877 GB, free: 3.707 MB / 0.7481 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)