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.001294/0.001294, allocations: 100.1 kB / 15.88 MB, free: 12 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.001184/0.001184, allocations: 196.7 kB / 16.79 MB, free: 6.828 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.482/1.482, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.003/1.003, allocations: 135.1 MB / 425.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001918, allocations: 64.19 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.2008, allocations: 80.92 MB / 0.5843 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.5433/0.7442, allocations: 208.7 MB / 0.7881 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01824/0.7625, allocations: 10.82 MB / 0.7987 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004273/0.7668, allocations: 63.56 kB / 0.7987 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003323/0.7702, allocations: 0.672 MB / 0.7994 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008149/0.7784, allocations: 2.251 MB / 0.8016 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006503/0.7849, allocations: 2.024 MB / 0.8036 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006958/0.7919, allocations: 4.585 MB / 0.8081 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/0.7943, allocations: 1.145 MB / 0.8092 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004524/0.7988, allocations: 1.747 MB / 0.8109 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002802/0.8016, allocations: 1.136 MB / 0.812 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003227/0.802, allocations: 80 kB / 0.8121 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006438/0.8084, allocations: 3.185 MB / 0.8152 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006354/0.8091, allocations: 398.3 kB / 0.8155 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.8105, allocations: 0.8275 MB / 0.8164 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004103/0.8146, allocations: 2.413 MB / 0.8187 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.8147, allocations: 0 / 0.8187 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8147, allocations: 0 / 0.8187 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.8147, allocations: 0 / 0.8187 GB, free: 13.29 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.005413/0.8201, allocations: 2.363 MB / 0.821 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.8202, allocations: 8.031 kB / 0.821 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002976/0.8231, allocations: 0.5402 MB / 0.8216 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/0.8257, allocations: 1.253 MB / 0.8228 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006228/0.8263, allocations: 197.8 kB / 0.823 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.8265, allocations: 115.9 kB / 0.8231 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.8293, allocations: 1.33 MB / 0.8244 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.8294, allocations: 3.938 kB / 0.8244 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.8295, allocations: 40 kB / 0.8244 GB, free: 7.297 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.326e-05/0.8295, allocations: 45.98 kB / 0.8245 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003244/0.8328, allocations: 1.351 MB / 0.8258 GB, free: 5.898 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.009084/0.8419, allocations: 5.292 MB / 0.831 GB, free: 316 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.8444, allocations: 1.031 MB / 0.832 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.8457, allocations: 0.5451 MB / 0.8325 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.8468, allocations: 0.7551 MB / 0.8332 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/0.8484, allocations: 0.6016 MB / 0.8338 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.477e-06/0.8484, allocations: 0 / 0.8338 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.004578/0.853, allocations: 1.608 MB / 0.8354 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.853, allocations: 60.06 kB / 0.8354 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.855, allocations: 1.318 MB / 0.8367 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.8552, allocations: 49.7 kB / 0.8368 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005808/0.8558, allocations: 0.6466 MB / 0.8374 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002894/0.8561, allocations: 287.9 kB / 0.8377 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000393/0.8565, allocations: 238.6 kB / 0.8379 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8566, allocations: 345.9 kB / 0.8382 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.858, allocations: 0.5134 MB / 0.8387 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.8596, allocations: 0.7854 MB / 0.8395 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002659/0.8622, allocations: 1.19 MB / 0.8407 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.8623, allocations: 0 / 0.8407 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003715/0.866, allocations: 1.477 MB / 0.8421 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/0.8661, allocations: 45.62 kB / 0.8422 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.8661, allocations: 4 kB / 0.8422 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.8661, allocations: 20.12 kB / 0.8422 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.8679, allocations: 335.5 kB / 0.8425 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007676/0.8687, allocations: 1.195 MB / 0.8437 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.8705, allocations: 222.6 kB / 0.8439 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.8707, allocations: 55.97 kB / 0.8439 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001806/0.8725, allocations: 0.764 MB / 0.8447 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001561/0.874, allocations: 0.7742 MB / 0.8454 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00265/0.8767, allocations: 1.187 MB / 0.8466 GB, free: 15.65 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.77e-06/0.8767, allocations: 4 kB / 0.8466 GB, free: 15.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=134) (initialization_lambda0): time 0.003679/0.8804, allocations: 1.481 MB / 0.848 GB, free: 14.15 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/0.8805, allocations: 33.7 kB / 0.8481 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.8805, allocations: 4 kB / 0.8481 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.8805, allocations: 16 kB / 0.8481 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.8819, allocations: 311.6 kB / 0.8484 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.882, allocations: 16.47 kB / 0.8484 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.8838, allocations: 191.1 kB / 0.8486 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.8839, allocations: 51.97 kB / 0.8486 GB, free: 13.53 MB / 0.67 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.0004022/0.8843, allocations: 248 kB / 0.8489 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/0.8846, allocations: 150.1 kB / 0.849 GB, free: 13.13 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/0.8879, allocations: 1.327 MB / 0.8503 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.8879, allocations: 15.98 kB / 0.8503 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8879, allocations: 0 / 0.8503 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.8879, allocations: 7.922 kB / 0.8503 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005345/0.8933, allocations: 2.853 MB / 0.8531 GB, free: 8.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/0.8933, allocations: 7.938 kB / 0.8531 GB, free: 8.812 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.8945, allocations: 231.8 kB / 0.8534 GB, free: 8.586 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.8945, allocations: 8 kB / 0.8534 GB, free: 8.578 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.349e-05/0.8946, allocations: 27.98 kB / 0.8534 GB, free: 8.551 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006192/0.8952, allocations: 1.195 MB / 0.8546 GB, free: 7.309 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.8953, allocations: 7.938 kB / 0.8546 GB, free: 7.301 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004494/0.8998, allocations: 2.065 MB / 0.8566 GB, free: 5.176 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000775/0.9006, allocations: 362.7 kB / 0.8569 GB, free: 4.801 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.9008, allocations: 24 kB / 0.8569 GB, free: 4.777 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.902, allocations: 119.9 kB / 0.8571 GB, free: 4.66 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.9021, allocations: 68.45 kB / 0.8571 GB, free: 4.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-05/0.9022, allocations: 43.97 kB / 0.8572 GB, free: 4.547 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001271/0.9035, allocations: 0.8899 MB / 0.858 GB, free: 3.66 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9035, allocations: 4 kB / 0.858 GB, free: 3.656 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002189/0.9057, allocations: 0.7887 MB / 0.8588 GB, free: 2.867 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.001134/0.9068, allocations: 482 kB / 0.8593 GB, free: 2.41 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005176/0.912, allocations: 2.061 MB / 0.8613 GB, free: 332 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.9121, allocations: 4 kB / 0.8613 GB, free: 328 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.3102/1.222, allocations: 0.6245 MB / 0.8619 GB, free: 220.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003449/1.226, allocations: 0.6837 MB / 0.8626 GB, free: 220.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/1.231, allocations: 3.289 MB / 0.8658 GB, free: 218.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/1.231, allocations: 1.226 MB / 0.867 GB, free: 218 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005441/1.232, allocations: 135.9 kB / 0.8671 GB, free: 218 MB / 0.67 GB Notification: Performance of SimCode: time 9.51e-07/1.232, allocations: 0 / 0.8671 GB, free: 218 MB / 0.67 GB Notification: Performance of Templates: time 0.05049/1.282, allocations: 37.9 MB / 0.9041 GB, free: 209.9 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)