Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.687/1.687, allocations: 297.8 MB / 313.7 MB, free: 76 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 172.5 kB / 384.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 0.6626 GB, free: 4.289 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008894/0.0008895, allocations: 90.22 kB / 0.7808 GB, free: 50.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 16 kB / 0.9088 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6838/0.6842, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.206/4.89, allocations: 2.177 GB / 3.203 GB, free: 99.16 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/4.891, allocations: 95.95 kB / 3.203 GB, free: 99.07 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.204/8.095, allocations: 0.948 GB / 4.151 GB, free: 136.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.306e-06/8.095, allocations: 2.25 kB / 4.151 GB, free: 136.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002523/8.095, allocations: 43.98 kB / 4.151 GB, free: 136.3 MB / 0.9948 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.007869/8.103, allocations: 2.332 MB / 4.154 GB, free: 135.2 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/8.103, allocations: 11.41 kB / 4.154 GB, free: 135.2 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003302/8.106, allocations: 0.5468 MB / 4.154 GB, free: 135.1 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004183/8.111, allocations: 1.425 MB / 4.156 GB, free: 134.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006543/8.111, allocations: 215.3 kB / 4.156 GB, free: 134.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004919/8.112, allocations: 116.4 kB / 4.156 GB, free: 134.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003456/8.115, allocations: 1.374 MB / 4.157 GB, free: 134.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/8.115, allocations: 1.5 kB / 4.157 GB, free: 134.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/8.115, allocations: 40.03 kB / 4.157 GB, free: 134.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-05/8.116, allocations: 47.22 kB / 4.157 GB, free: 134.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003492/8.119, allocations: 1.386 MB / 4.159 GB, free: 134.6 MB / 0.9948 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.01297/8.132, allocations: 5.459 MB / 4.164 GB, free: 132.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/8.136, allocations: 1.122 MB / 4.165 GB, free: 132.5 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/8.137, allocations: 0.5659 MB / 4.166 GB, free: 132.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/8.138, allocations: 0.7486 MB / 4.167 GB, free: 131.7 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001734/8.14, allocations: 0.6503 MB / 4.167 GB, free: 131.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=82): time 4.749e-06/8.14, allocations: 0 / 4.167 GB, free: 131.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=82): time 0.00502/8.145, allocations: 1.695 MB / 4.169 GB, free: 131.6 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/8.145, allocations: 115.5 kB / 4.169 GB, free: 131.4 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/8.148, allocations: 1.323 MB / 4.17 GB, free: 131.3 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002312/8.149, allocations: 50.64 kB / 4.17 GB, free: 131.2 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007401/8.149, allocations: 0.6353 MB / 4.171 GB, free: 131.1 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000317/8.15, allocations: 286.2 kB / 4.171 GB, free: 130.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/8.15, allocations: 22.55 kB / 4.171 GB, free: 130.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001043/8.15, allocations: 346 kB / 4.172 GB, free: 130.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/8.151, allocations: 0.543 MB / 4.172 GB, free: 130.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/8.153, allocations: 0.8492 MB / 4.173 GB, free: 130.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/8.156, allocations: 1.256 MB / 4.174 GB, free: 130.1 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/8.156, allocations: 3.781 kB / 4.174 GB, free: 130.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004067/8.16, allocations: 1.541 MB / 4.176 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/8.16, allocations: 273.1 kB / 4.176 GB, free: 129.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/8.16, allocations: 4.391 kB / 4.176 GB, free: 129.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/8.16, allocations: 10.09 kB / 4.176 GB, free: 129.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/8.162, allocations: 370.2 kB / 4.176 GB, free: 129.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006549/8.163, allocations: 1.203 MB / 4.177 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/8.165, allocations: 243.5 kB / 4.178 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/8.165, allocations: 63.08 kB / 4.178 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/8.165, allocations: 7.812 kB / 4.178 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003812/8.169, allocations: 1.388 MB / 4.179 GB, free: 128.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/8.169, allocations: 5.156 kB / 4.179 GB, free: 128.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/8.169, allocations: 12.59 kB / 4.179 GB, free: 128.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/8.171, allocations: 329.8 kB / 4.179 GB, free: 128.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.21e-05/8.171, allocations: 12.47 kB / 4.179 GB, free: 128.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/8.173, allocations: 233.1 kB / 4.18 GB, free: 128.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/8.173, allocations: 57.78 kB / 4.18 GB, free: 128.3 MB / 0.9948 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 ($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 () * 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 (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.0009569/8.174, allocations: 415.1 kB / 4.18 GB, free: 128.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005189/8.174, allocations: 165 kB / 4.18 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/8.178, allocations: 1.399 MB / 4.182 GB, free: 127.9 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/8.178, allocations: 10.2 kB / 4.182 GB, free: 127.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/8.178, allocations: 0 / 4.182 GB, free: 127.9 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/8.178, allocations: 5.75 kB / 4.182 GB, free: 127.9 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007186/8.186, allocations: 2.923 MB / 4.184 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/8.186, allocations: 3.031 kB / 4.184 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/8.187, allocations: 250.7 kB / 4.185 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.827e-05/8.187, allocations: 10.28 kB / 4.185 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/8.187, allocations: 34.47 kB / 4.185 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004433/8.188, allocations: 1.185 MB / 4.186 GB, free: 126.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/8.188, allocations: 4.969 kB / 4.186 GB, free: 126.2 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005091/8.193, allocations: 2.169 MB / 4.188 GB, free: 125.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009963/8.194, allocations: 365.8 kB / 4.188 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004741/8.194, allocations: 23.34 kB / 4.188 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/8.196, allocations: 150.8 kB / 4.189 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/8.196, allocations: 74.56 kB / 4.189 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/8.196, allocations: 48.27 kB / 4.189 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001827/8.198, allocations: 0.8819 MB / 4.19 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3e-07/8.198, allocations: 0 / 4.19 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004137/8.202, allocations: 0.9938 MB / 4.19 GB, free: 125.5 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (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.003854/8.206, allocations: 2.13 MB / 4.193 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005523/8.211, allocations: 2.176 MB / 4.195 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.361e-06/8.211, allocations: 1.5 kB / 4.195 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001642/8.213, allocations: 0.6734 MB / 4.195 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004678/8.218, allocations: 0.6777 MB / 4.196 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006928/8.225, allocations: 3.251 MB / 4.199 GB, free: 123.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/8.226, allocations: 1.228 MB / 4.2 GB, free: 122.5 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003062/8.229, allocations: 413.6 kB / 4.201 GB, free: 122.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006378/8.23, allocations: 123.7 kB / 4.201 GB, free: 122.5 MB / 0.9948 GB Notification: Performance of SimCode: time 9.41e-07/8.23, allocations: 0.9688 kB / 4.201 GB, free: 122.5 MB / 0.9948 GB Notification: Performance of Templates: time 0.0689/8.299, allocations: 49.34 MB / 4.249 GB, free: 119.9 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)