Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001292/0.001292, allocations: 103.5 kB / 16.94 MB, free: 6.191 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.001251/0.001251, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.313/1.313, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7716/0.7716, allocations: 122.9 MB / 414.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 59.91 kB / 0.4917 GB, free: 7.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3956, allocations: 77.92 MB / 0.5678 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6257/1.021, allocations: 211 MB / 0.7739 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01615/1.038, allocations: 10.64 MB / 0.7843 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00309/1.041, allocations: 63.64 kB / 0.7844 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002821/1.044, allocations: 0.834 MB / 0.7852 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00842/1.052, allocations: 2.476 MB / 0.7876 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007318/1.059, allocations: 2.262 MB / 0.7898 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006302/1.066, allocations: 3.7 MB / 0.7934 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/1.068, allocations: 1.333 MB / 0.7947 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005038/1.073, allocations: 1.935 MB / 0.7966 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/1.075, allocations: 1.156 MB / 0.7978 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003733/1.076, allocations: 155.5 kB / 0.7979 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006333/1.082, allocations: 3.023 MB / 0.8009 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007046/1.083, allocations: 468.8 kB / 0.8013 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00141/1.084, allocations: 0.9021 MB / 0.8022 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006379/1.091, allocations: 3.296 MB / 0.8054 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.091, allocations: 0 / 0.8054 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.914e-06/1.091, allocations: 0 / 0.8054 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.031e-05/1.091, allocations: 4.188 kB / 0.8054 GB, free: 0.6523 MB / 0.5762 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.005177/1.096, allocations: 2.352 MB / 0.8077 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.096, allocations: 11.41 kB / 0.8077 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/1.099, allocations: 0.538 MB / 0.8082 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/1.101, allocations: 1.247 MB / 0.8095 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000637/1.102, allocations: 200.8 kB / 0.8096 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/1.102, allocations: 106.1 kB / 0.8097 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/1.105, allocations: 1.329 MB / 0.811 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/1.105, allocations: 0 / 0.811 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/1.105, allocations: 34.12 kB / 0.8111 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-05/1.105, allocations: 57.56 kB / 0.8111 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002993/1.108, allocations: 1.34 MB / 0.8124 GB, free: 14.82 MB / 0.5919 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.008942/1.117, allocations: 5.326 MB / 0.8176 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/1.119, allocations: 1.018 MB / 0.8186 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/1.121, allocations: 0.5444 MB / 0.8192 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/1.122, allocations: 0.7577 MB / 0.8199 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/1.123, allocations: 0.6042 MB / 0.8205 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=81): time 2.775e-06/1.123, allocations: 0 / 0.8205 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.00453/1.128, allocations: 1.587 MB / 0.822 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/1.128, allocations: 60.66 kB / 0.8221 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/1.13, allocations: 1.333 MB / 0.8234 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001917/1.13, allocations: 47.48 kB / 0.8235 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005769/1.131, allocations: 0.6425 MB / 0.8241 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/1.131, allocations: 278.1 kB / 0.8243 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003864/1.131, allocations: 240.4 kB / 0.8246 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.132, allocations: 344.5 kB / 0.8249 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/1.133, allocations: 0.5068 MB / 0.8254 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/1.135, allocations: 0.7621 MB / 0.8261 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/1.137, allocations: 1.179 MB / 0.8273 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/1.137, allocations: 0 / 0.8273 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003966/1.141, allocations: 1.464 MB / 0.8287 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/1.141, allocations: 37.86 kB / 0.8288 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/1.141, allocations: 8.906 kB / 0.8288 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/1.141, allocations: 10.22 kB / 0.8288 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/1.143, allocations: 331.7 kB / 0.8291 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007507/1.144, allocations: 1.199 MB / 0.8303 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/1.146, allocations: 189.5 kB / 0.8304 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/1.146, allocations: 53.91 kB / 0.8305 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00178/1.148, allocations: 0.7511 MB / 0.8312 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001478/1.149, allocations: 0.7622 MB / 0.832 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002571/1.152, allocations: 1.168 MB / 0.8331 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.328e-06/1.152, allocations: 2.562 kB / 0.8331 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.003613/1.155, allocations: 1.459 MB / 0.8345 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/1.155, allocations: 33.7 kB / 0.8346 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.155, allocations: 4 kB / 0.8346 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/1.155, allocations: 11.94 kB / 0.8346 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/1.157, allocations: 307.6 kB / 0.8349 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/1.157, allocations: 12 kB / 0.8349 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/1.158, allocations: 182.2 kB / 0.8351 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.159, allocations: 47.98 kB / 0.8351 GB, free: 2.223 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (130): * Single equations (assignments): 127 * 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.0003777/1.159, allocations: 255.8 kB / 0.8354 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003573/1.159, allocations: 150.1 kB / 0.8355 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/1.163, allocations: 1.32 MB / 0.8368 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/1.163, allocations: 8 kB / 0.8368 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/1.163, allocations: 3.938 kB / 0.8368 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/1.163, allocations: 7.984 kB / 0.8368 GB, free: 500 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005617/1.168, allocations: 2.849 MB / 0.8396 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.168, allocations: 4 kB / 0.8396 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/1.17, allocations: 225.7 kB / 0.8398 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/1.17, allocations: 8 kB / 0.8398 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.36e-05/1.17, allocations: 27.98 kB / 0.8398 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006402/1.17, allocations: 1.202 MB / 0.841 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.17, allocations: 7.984 kB / 0.841 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/1.175, allocations: 2.056 MB / 0.843 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007925/1.176, allocations: 366.8 kB / 0.8434 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/1.176, allocations: 23.94 kB / 0.8434 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/1.177, allocations: 116.3 kB / 0.8435 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/1.177, allocations: 75.69 kB / 0.8436 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/1.178, allocations: 35.98 kB / 0.8436 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001329/1.179, allocations: 0.9018 MB / 0.8445 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/1.179, allocations: 0 / 0.8445 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002219/1.181, allocations: 0.7888 MB / 0.8453 GB, free: 7.668 MB / 0.6075 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: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.001142/1.182, allocations: 465.6 kB / 0.8457 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005764/1.188, allocations: 2.127 MB / 0.8478 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/1.188, allocations: 4 kB / 0.8478 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/1.19, allocations: 0.6118 MB / 0.8484 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/1.193, allocations: 0.6918 MB / 0.8491 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005414/1.199, allocations: 2.787 MB / 0.8518 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009498/1.2, allocations: 1.223 MB / 0.853 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005482/1.2, allocations: 135.4 kB / 0.8531 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of SimCode: time 1.192e-06/1.2, allocations: 0 / 0.8531 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of Templates: time 0.05193/1.252, allocations: 37.7 MB / 0.8899 GB, free: 10.13 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)