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.001093/0.001093, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005334/0.005334, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.517/1.517, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9692/0.9692, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003644, allocations: 8 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2054, allocations: 82.32 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6388/0.8442, allocations: 205.9 MB / 0.789 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0177/0.8619, allocations: 10.69 MB / 0.7995 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.8644, allocations: 51.62 kB / 0.7995 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.8668, allocations: 0.6836 MB / 0.8002 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006922/0.8737, allocations: 2.241 MB / 0.8024 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006117/0.8799, allocations: 2.035 MB / 0.8044 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006476/0.8864, allocations: 4.585 MB / 0.8089 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002046/0.8884, allocations: 1.114 MB / 0.8099 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004435/0.8929, allocations: 1.7 MB / 0.8116 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.8951, allocations: 1.11 MB / 0.8127 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.8954, allocations: 64 kB / 0.8127 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005584/0.901, allocations: 3.165 MB / 0.8158 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004606/0.9014, allocations: 374.3 kB / 0.8162 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.9025, allocations: 0.829 MB / 0.817 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00522/0.9077, allocations: 3.275 MB / 0.8202 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9077, allocations: 4 kB / 0.8202 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9077, allocations: 0 / 0.8202 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.407e-05/0.9078, allocations: 0 / 0.8202 GB, free: 14.54 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.005018/0.9128, allocations: 2.027 MB / 0.8222 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.9129, allocations: 12.03 kB / 0.8222 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002942/0.9158, allocations: 0.5833 MB / 0.8228 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.9184, allocations: 1.245 MB / 0.824 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006804/0.9191, allocations: 217.8 kB / 0.8242 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.9193, allocations: 120 kB / 0.8243 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/0.9222, allocations: 1.349 MB / 0.8256 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.9222, allocations: 4 kB / 0.8256 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.9223, allocations: 40 kB / 0.8257 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/0.9224, allocations: 45.97 kB / 0.8257 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003441/0.9259, allocations: 1.401 MB / 0.8271 GB, free: 7.348 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.009265/0.9351, allocations: 5.335 MB / 0.8323 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.9379, allocations: 1.066 MB / 0.8333 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.9392, allocations: 0.5702 MB / 0.8339 GB, free: 52 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.9405, allocations: 0.7825 MB / 0.8346 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/0.9422, allocations: 0.6329 MB / 0.8353 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.607e-06/0.9422, allocations: 0 / 0.8353 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.004845/0.9471, allocations: 1.667 MB / 0.8369 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.9472, allocations: 68.06 kB / 0.837 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.9491, allocations: 1.318 MB / 0.8382 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.9492, allocations: 49.7 kB / 0.8383 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000633/0.9499, allocations: 0.6426 MB / 0.8389 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003022/0.9502, allocations: 276 kB / 0.8392 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.9503, allocations: 101.7 kB / 0.8393 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.9505, allocations: 341.9 kB / 0.8396 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.9519, allocations: 0.5335 MB / 0.8401 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.9537, allocations: 0.805 MB / 0.8409 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/0.9567, allocations: 1.237 MB / 0.8421 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.9567, allocations: 0 / 0.8421 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003912/0.9606, allocations: 1.528 MB / 0.8436 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002212/0.9608, allocations: 270.6 kB / 0.8439 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.9609, allocations: 4 kB / 0.8439 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.9609, allocations: 12 kB / 0.8439 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.9627, allocations: 359.5 kB / 0.8442 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006929/0.9634, allocations: 1.203 MB / 0.8454 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.9651, allocations: 226.7 kB / 0.8456 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.9653, allocations: 55.97 kB / 0.8457 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.9653, allocations: 6.5 kB / 0.8457 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003362/0.9686, allocations: 1.38 MB / 0.847 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.9687, allocations: 7.938 kB / 0.847 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.9687, allocations: 12 kB / 0.847 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.9702, allocations: 327.6 kB / 0.8474 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.9702, allocations: 16 kB / 0.8474 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.9719, allocations: 210.8 kB / 0.8476 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.972, allocations: 55.97 kB / 0.8476 GB, free: 1.453 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.0007192/0.9727, allocations: 421.2 kB / 0.848 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.973, allocations: 158 kB / 0.8482 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003463/0.9765, allocations: 1.375 MB / 0.8495 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.9765, allocations: 11.94 kB / 0.8495 GB, free: 15.49 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.9766, allocations: 4 kB / 0.8495 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.9766, allocations: 3.984 kB / 0.8495 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005548/0.9821, allocations: 2.896 MB / 0.8524 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.9821, allocations: 4 kB / 0.8524 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.9834, allocations: 243.7 kB / 0.8526 GB, free: 12.24 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.9834, allocations: 8 kB / 0.8526 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.335e-05/0.9835, allocations: 27.98 kB / 0.8526 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005906/0.9841, allocations: 1.188 MB / 0.8538 GB, free: 10.97 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/0.9841, allocations: 7.984 kB / 0.8538 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004686/0.9888, allocations: 2.143 MB / 0.8559 GB, free: 8.75 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006173/0.9894, allocations: 366.7 kB / 0.8563 GB, free: 8.371 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.9896, allocations: 28 kB / 0.8563 GB, free: 8.344 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.9909, allocations: 127.9 kB / 0.8564 GB, free: 8.219 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.991, allocations: 72.5 kB / 0.8565 GB, free: 8.148 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.792e-05/0.9911, allocations: 39.98 kB / 0.8565 GB, free: 8.109 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001274/0.9924, allocations: 0.8976 MB / 0.8574 GB, free: 7.215 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9924, allocations: 3.938 kB / 0.8574 GB, free: 7.211 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001976/0.9944, allocations: 0.7879 MB / 0.8582 GB, free: 6.422 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.0009989/0.9954, allocations: 460.1 kB / 0.8586 GB, free: 5.973 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005353/1.001, allocations: 2.143 MB / 0.8607 GB, free: 3.809 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.001, allocations: 0 / 0.8607 GB, free: 3.809 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/1.002, allocations: 0.6651 MB / 0.8613 GB, free: 3.141 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004168/1.007, allocations: 0.6863 MB / 0.862 GB, free: 2.469 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2784/1.285, allocations: 3.32 MB / 0.8653 GB, free: 214.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/1.286, allocations: 1.223 MB / 0.8664 GB, free: 213.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001924/1.288, allocations: 408.9 kB / 0.8668 GB, free: 213.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/1.288, allocations: 123.1 kB / 0.867 GB, free: 213.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.022e-06/1.288, allocations: 1.469 kB / 0.867 GB, free: 213.9 MB / 0.67 GB Notification: Performance of Templates: time 0.05134/1.339, allocations: 29.28 MB / 0.8955 GB, free: 211.6 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)