Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 289.7 MB / 302.3 MB, free: 2.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 179.2 kB / 371.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 92.25 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.827e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2779, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.341/7.619, allocations: 2.359 GB / 3.339 GB, free: 191 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/7.619, allocations: 90.58 kB / 3.339 GB, free: 191 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.434/12.05, allocations: 0.9466 GB / 4.286 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.084e-06/12.05, allocations: 0 / 4.286 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001979/12.05, allocations: 46.75 kB / 4.286 GB, free: 115.8 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.007587/12.06, allocations: 2.108 MB / 4.288 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/12.06, allocations: 8.031 kB / 4.288 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003538/12.06, allocations: 0.5554 MB / 4.288 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/12.07, allocations: 1.399 MB / 4.29 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006705/12.07, allocations: 221.1 kB / 4.29 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/12.07, allocations: 118.4 kB / 4.29 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/12.07, allocations: 1.227 MB / 4.291 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/12.07, allocations: 3.188 kB / 4.291 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/12.07, allocations: 40.66 kB / 4.291 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.444e-05/12.07, allocations: 45.05 kB / 4.291 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/12.07, allocations: 1.062 MB / 4.292 GB, free: 114.5 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.01039/12.08, allocations: 5.458 MB / 4.298 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/12.09, allocations: 0.761 MB / 4.298 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/12.09, allocations: 414.4 kB / 4.299 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009318/12.09, allocations: 0.7499 MB / 4.299 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008379/12.09, allocations: 0.4949 MB / 4.3 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=81): time 4.759e-06/12.09, allocations: 0 / 4.3 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81): time 0.002365/12.09, allocations: 0.9203 MB / 4.301 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/12.09, allocations: 188.5 kB / 4.301 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/12.09, allocations: 1.156 MB / 4.302 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002135/12.09, allocations: 52.55 kB / 4.302 GB, free: 111 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006091/12.09, allocations: 0.6529 MB / 4.303 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/12.09, allocations: 278.3 kB / 4.303 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/12.09, allocations: 23.53 kB / 4.303 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001107/12.09, allocations: 346.7 kB / 4.303 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006763/12.09, allocations: 401.1 kB / 4.304 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009004/12.1, allocations: 0.7122 MB / 4.305 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007676/12.1, allocations: 490.6 kB / 4.305 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/12.1, allocations: 6.531 kB / 4.305 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002426/12.1, allocations: 1.251 MB / 4.306 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005468/12.1, allocations: 1.905 MB / 4.308 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/12.1, allocations: 9.219 kB / 4.308 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/12.1, allocations: 11.47 kB / 4.308 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/12.1, allocations: 335.1 kB / 4.308 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006091/12.1, allocations: 1.203 MB / 4.31 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/12.1, allocations: 239.7 kB / 4.31 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/12.1, allocations: 59.05 kB / 4.31 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/12.1, allocations: 9.281 kB / 4.31 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001891/12.11, allocations: 1.092 MB / 4.311 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/12.11, allocations: 6.188 kB / 4.311 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/12.11, allocations: 11.03 kB / 4.311 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/12.11, allocations: 322.5 kB / 4.311 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/12.11, allocations: 20.52 kB / 4.311 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/12.11, allocations: 230.4 kB / 4.311 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/12.11, allocations: 58.14 kB / 4.312 GB, free: 106.7 MB / 0.9636 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 ($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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0004012/12.11, allocations: 175.3 kB / 4.312 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004503/12.11, allocations: 159 kB / 4.312 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/12.11, allocations: 1.093 MB / 4.313 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/12.11, allocations: 9.75 kB / 4.313 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/12.11, allocations: 3.953 kB / 4.313 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/12.11, allocations: 3.281 kB / 4.313 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/12.12, allocations: 2.607 MB / 4.315 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/12.12, allocations: 3.156 kB / 4.316 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/12.12, allocations: 255 kB / 4.316 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/12.12, allocations: 5.906 kB / 4.316 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.062e-05/12.12, allocations: 30.42 kB / 4.316 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004733/12.12, allocations: 1.188 MB / 4.317 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/12.12, allocations: 6.562 kB / 4.317 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/12.12, allocations: 1.911 MB / 4.319 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/12.12, allocations: 379 kB / 4.319 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/12.12, allocations: 20.47 kB / 4.319 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/12.12, allocations: 142.9 kB / 4.319 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/12.12, allocations: 77.28 kB / 4.319 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.173e-05/12.12, allocations: 38.53 kB / 4.319 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001478/12.13, allocations: 0.8826 MB / 4.32 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.8e-07/12.13, allocations: 0 / 4.32 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00482/12.13, allocations: 1.041 MB / 4.321 GB, free: 103.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * 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 (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.004905/12.14, allocations: 2.144 MB / 4.323 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003851/12.14, allocations: 1.818 MB / 4.325 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/12.14, allocations: 4.656 kB / 4.325 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/12.14, allocations: 0.5126 MB / 4.326 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004061/12.15, allocations: 0.68 MB / 4.326 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004639/12.15, allocations: 2.057 MB / 4.328 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007405/12.15, allocations: 1.274 MB / 4.33 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002775/12.15, allocations: 0.5016 MB / 4.33 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/12.15, allocations: 106.2 kB / 4.33 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of SimCode: time 1.513e-06/12.15, allocations: 2.75 kB / 4.33 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.1095/12.26, allocations: 56.7 MB / 4.386 GB, free: 99.78 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)