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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.615/1.615, allocations: 288.4 MB / 303.6 MB, free: 8.066 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.0009294/0.0009294, allocations: 184.4 kB / 372.3 MB, free: 10.13 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.451/1.451, allocations: 205.4 MB / 0.631 GB, free: 9.934 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.000726/0.0007259, allocations: 102.2 kB / 0.7444 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003915, allocations: 15.97 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1917, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6815/0.8732, allocations: 192.5 MB / 1.168 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.8913, allocations: 12.45 MB / 1.18 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002037/0.8934, allocations: 57.62 kB / 1.18 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.8955, allocations: 0.6085 MB / 1.181 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005734/0.9012, allocations: 2.058 MB / 1.183 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009676/0.9109, allocations: 2.83 MB / 1.186 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006457/0.9174, allocations: 4.032 MB / 1.19 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002455/0.9199, allocations: 1.106 MB / 1.191 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00378/0.9237, allocations: 1.656 MB / 1.192 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.9257, allocations: 1.048 MB / 1.193 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000388/0.9261, allocations: 60.38 kB / 1.193 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005987/0.9321, allocations: 3.197 MB / 1.197 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0007485/0.9329, allocations: 367.2 kB / 1.197 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.9344, allocations: 0.7899 MB / 1.198 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003718/0.9381, allocations: 2.475 MB / 1.2 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.9382, allocations: 0 / 1.2 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9382, allocations: 0 / 1.2 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.889e-05/0.9383, allocations: 0 / 1.2 GB, free: 6.254 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.005256/0.9435, allocations: 2.07 MB / 1.202 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.9436, allocations: 10.84 kB / 1.202 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003385/0.9439, allocations: 156.6 kB / 1.202 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/0.9467, allocations: 0.5862 MB / 1.203 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/0.9491, allocations: 1.259 MB / 1.204 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005989/0.9497, allocations: 217.5 kB / 1.204 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.9499, allocations: 115.3 kB / 1.204 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.9525, allocations: 1.374 MB / 1.206 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.9526, allocations: 0 / 1.206 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.9527, allocations: 46.83 kB / 1.206 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/0.9527, allocations: 37.5 kB / 1.206 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/0.9559, allocations: 1.385 MB / 1.207 GB, free: 1.684 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.008503/0.9644, allocations: 5.346 MB / 1.212 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.9671, allocations: 1.175 MB / 1.214 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.9684, allocations: 0.5696 MB / 1.214 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.9694, allocations: 0.7749 MB / 1.215 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001457/0.9708, allocations: 0.6444 MB / 1.216 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 2.996e-06/0.9709, allocations: 0 / 1.216 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.004327/0.9752, allocations: 1.663 MB / 1.217 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.9753, allocations: 145.2 kB / 1.217 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.977, allocations: 1.332 MB / 1.219 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.9771, allocations: 49.7 kB / 1.219 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005405/0.9776, allocations: 0.6545 MB / 1.219 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.9779, allocations: 283.9 kB / 1.22 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.978, allocations: 23.94 kB / 1.22 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.9781, allocations: 345.9 kB / 1.22 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.9795, allocations: 0.5374 MB / 1.22 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.981, allocations: 0.8317 MB / 1.221 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002652/0.9837, allocations: 1.253 MB / 1.222 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.9837, allocations: 0 / 1.222 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003537/0.9872, allocations: 1.559 MB / 1.224 GB, free: 76 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001657/0.9874, allocations: 270.9 kB / 1.224 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.9874, allocations: 4 kB / 1.224 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.9875, allocations: 12 kB / 1.224 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.9892, allocations: 355.5 kB / 1.225 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006554/0.9898, allocations: 1.199 MB / 1.226 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.9916, allocations: 238.5 kB / 1.226 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.9918, allocations: 55.97 kB / 1.226 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.9918, allocations: 5.719 kB / 1.226 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003153/0.9949, allocations: 1.399 MB / 1.227 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.995, allocations: 11.98 kB / 1.227 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.995, allocations: 8 kB / 1.227 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.9963, allocations: 319.6 kB / 1.228 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.9964, allocations: 16 kB / 1.228 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.9979, allocations: 222.8 kB / 1.228 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.998, allocations: 59.91 kB / 1.228 GB, free: 11.8 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.000698/0.9987, allocations: 424.8 kB / 1.228 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.999, allocations: 158 kB / 1.229 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/1.002, allocations: 1.379 MB / 1.23 GB, free: 9.84 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/1.002, allocations: 15.94 kB / 1.23 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.002, allocations: 96 / 1.23 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/1.002, allocations: 7.969 kB / 1.23 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005204/1.007, allocations: 2.887 MB / 1.233 GB, free: 6.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.007, allocations: 8.094 kB / 1.233 GB, free: 6.812 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/1.009, allocations: 239.6 kB / 1.233 GB, free: 6.578 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/1.009, allocations: 4 kB / 1.233 GB, free: 6.574 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-05/1.009, allocations: 39.92 kB / 1.233 GB, free: 6.535 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004984/1.009, allocations: 1.188 MB / 1.234 GB, free: 5.301 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.009, allocations: 7.938 kB / 1.234 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/1.014, allocations: 2.136 MB / 1.236 GB, free: 3.094 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006851/1.014, allocations: 370.6 kB / 1.237 GB, free: 2.711 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/1.014, allocations: 31.98 kB / 1.237 GB, free: 2.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.016, allocations: 123.9 kB / 1.237 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.016, allocations: 80.42 kB / 1.237 GB, free: 2.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-05/1.016, allocations: 39.98 kB / 1.237 GB, free: 2.441 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001181/1.017, allocations: 0.8908 MB / 1.238 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/1.017, allocations: 0 / 1.238 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002067/1.019, allocations: 0.8269 MB / 1.239 GB, free: 0.7266 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.005601/1.025, allocations: 3.095 MB / 1.242 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005246/1.03, allocations: 2.221 MB / 1.244 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.03, allocations: 0 / 1.244 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/1.032, allocations: 0.665 MB / 1.244 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004392/1.036, allocations: 0.6948 MB / 1.245 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/1.055, allocations: 9.621 MB / 1.255 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/1.056, allocations: 1.243 MB / 1.256 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001883/1.058, allocations: 416.3 kB / 1.256 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000785/1.059, allocations: 0.5774 MB / 1.257 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of SimCode: time 5.41e-07/1.059, allocations: 0 / 1.257 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7567/1.815, allocations: 44.18 MB / 1.3 GB, free: 1.891 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004554/1.816, allocations: 284 kB / 1.3 GB, free: 1.527 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.456/5.272, allocations: 0 / 1.3 GB, free: 1.527 MB / 0.823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)