Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.761/1.761, allocations: 288.4 MB / 303.4 MB, free: 8.133 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.001041/0.001041, allocations: 176.5 kB / 372 MB, free: 10.27 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.568/1.568, allocations: 205.4 MB / 0.6307 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008052/0.000805, allocations: 90.36 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006715/0.0006717, allocations: 11.41 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.263, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6841/0.9471, allocations: 192.5 MB / 1.168 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02197/0.9691, allocations: 12.46 MB / 1.18 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002367/0.9715, allocations: 57.88 kB / 1.18 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.9737, allocations: 0.5796 MB / 1.18 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006029/0.9797, allocations: 1.822 MB / 1.182 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009255/0.989, allocations: 2.774 MB / 1.185 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006156/0.9952, allocations: 3.989 MB / 1.189 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.997, allocations: 0.988 MB / 1.19 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003632/1.001, allocations: 1.558 MB / 1.191 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/1.003, allocations: 1.05 MB / 1.192 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002157/1.003, allocations: 64.09 kB / 1.192 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005116/1.008, allocations: 2.346 MB / 1.195 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004905/1.008, allocations: 371.9 kB / 1.195 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0006908/1.009, allocations: 346.8 kB / 1.195 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00363/1.013, allocations: 2.389 MB / 1.198 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/1.013, allocations: 0 / 1.198 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.403e-06/1.013, allocations: 3.938 kB / 1.198 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.421e-05/1.013, allocations: 0 / 1.198 GB, free: 7.781 MB / 0.7292 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.004727/1.018, allocations: 2.085 MB / 1.2 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.018, allocations: 10.72 kB / 1.2 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00299/1.021, allocations: 0.5895 MB / 1.2 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/1.024, allocations: 1.203 MB / 1.201 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006722/1.024, allocations: 217.6 kB / 1.202 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/1.024, allocations: 115.3 kB / 1.202 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/1.027, allocations: 1.371 MB / 1.203 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/1.027, allocations: 0 / 1.203 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/1.028, allocations: 40.66 kB / 1.203 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.446e-05/1.028, allocations: 47.58 kB / 1.203 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003136/1.031, allocations: 1.386 MB / 1.205 GB, free: 3.391 MB / 0.7292 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.008747/1.039, allocations: 5.329 MB / 1.21 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/1.042, allocations: 1.195 MB / 1.211 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/1.044, allocations: 0.5615 MB / 1.211 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/1.045, allocations: 0.7786 MB / 1.212 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/1.046, allocations: 0.6367 MB / 1.213 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 2.985e-06/1.046, allocations: 0 / 1.213 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.004336/1.051, allocations: 1.671 MB / 1.214 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/1.051, allocations: 141.2 kB / 1.215 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/1.052, allocations: 1.331 MB / 1.216 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/1.052, allocations: 49.7 kB / 1.216 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005533/1.053, allocations: 0.6507 MB / 1.217 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/1.053, allocations: 287.9 kB / 1.217 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/1.053, allocations: 20 kB / 1.217 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.053, allocations: 353.9 kB / 1.217 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/1.055, allocations: 0.5374 MB / 1.218 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/1.056, allocations: 0.8371 MB / 1.219 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/1.058, allocations: 0.6214 MB / 1.219 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.058, allocations: 4 kB / 1.219 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003483/1.061, allocations: 1.556 MB / 1.221 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001853/1.062, allocations: 266.8 kB / 1.221 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/1.062, allocations: 4 kB / 1.221 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/1.062, allocations: 12 kB / 1.221 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/1.063, allocations: 347.5 kB / 1.221 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007053/1.064, allocations: 1.203 MB / 1.222 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/1.066, allocations: 239.9 kB / 1.223 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.066, allocations: 51.97 kB / 1.223 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/1.066, allocations: 4 kB / 1.223 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003187/1.069, allocations: 1.403 MB / 1.224 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/1.069, allocations: 8 kB / 1.224 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/1.069, allocations: 12 kB / 1.224 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/1.071, allocations: 327.7 kB / 1.224 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/1.071, allocations: 8 kB / 1.224 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/1.072, allocations: 224.7 kB / 1.225 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.072, allocations: 59.91 kB / 1.225 GB, free: 14.95 MB / 0.7605 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 (135): * Single equations (assignments): 130 * 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.0007466/1.073, allocations: 422.1 kB / 1.225 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/1.074, allocations: 154.1 kB / 1.225 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003217/1.077, allocations: 1.383 MB / 1.227 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/1.077, allocations: 12 kB / 1.227 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.077, allocations: 0 / 1.227 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/1.077, allocations: 3.984 kB / 1.227 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00537/1.082, allocations: 2.906 MB / 1.229 GB, free: 9.965 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/1.082, allocations: 4 kB / 1.229 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/1.083, allocations: 244.1 kB / 1.23 GB, free: 9.723 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/1.083, allocations: 8 kB / 1.23 GB, free: 9.715 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/1.084, allocations: 31.97 kB / 1.23 GB, free: 9.684 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005763/1.084, allocations: 1.188 MB / 1.231 GB, free: 8.449 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.084, allocations: 8.188 kB / 1.231 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/1.089, allocations: 2.136 MB / 1.233 GB, free: 6.238 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007175/1.089, allocations: 374.7 kB / 1.233 GB, free: 5.852 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/1.09, allocations: 20.19 kB / 1.233 GB, free: 5.832 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.091, allocations: 139.8 kB / 1.233 GB, free: 5.695 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/1.091, allocations: 76.5 kB / 1.234 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.61e-05/1.091, allocations: 43.91 kB / 1.234 GB, free: 5.578 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001259/1.092, allocations: 0.883 MB / 1.234 GB, free: 4.699 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.61e-07/1.092, allocations: 0 / 1.234 GB, free: 4.699 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002241/1.095, allocations: 0.827 MB / 1.235 GB, free: 3.871 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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) * 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.001116/1.096, allocations: 0.5021 MB / 1.236 GB, free: 3.371 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005631/1.101, allocations: 2.225 MB / 1.238 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/1.101, allocations: 0.875 kB / 1.238 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001585/1.103, allocations: 0.6603 MB / 1.239 GB, free: 464 kB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003533/1.107, allocations: 0.7023 MB / 1.239 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005465/1.112, allocations: 3.28 MB / 1.242 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007426/1.113, allocations: 1.235 MB / 1.244 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001931/1.115, allocations: 420.2 kB / 1.244 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/1.115, allocations: 127.4 kB / 1.244 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of SimCode: time 9.82e-07/1.115, allocations: 0 / 1.244 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.05041/1.166, allocations: 29.76 MB / 1.273 GB, free: 13.07 MB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)