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.761/1.761, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.001159/0.001159, allocations: 185 kB / 371.8 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.636/1.636, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0009721/0.0009721, allocations: 97.09 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004325, allocations: 11.75 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2613, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.8686/1.13, allocations: 175.8 MB / 1.151 GB, free: 8.734 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02404/1.154, allocations: 12.21 MB / 1.163 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003221/1.157, allocations: 53.78 kB / 1.163 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003741/1.161, allocations: 0.7559 MB / 1.164 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.009547/1.171, allocations: 2.204 MB / 1.166 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01107/1.182, allocations: 2.859 MB / 1.169 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007433/1.189, allocations: 2.215 MB / 1.171 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/1.192, allocations: 1.024 MB / 1.172 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005123/1.197, allocations: 1.489 MB / 1.173 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/1.199, allocations: 0.8042 MB / 1.174 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000364/1.2, allocations: 62.5 kB / 1.174 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006569/1.206, allocations: 2.095 MB / 1.176 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001249/1.208, allocations: 350.2 kB / 1.177 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001753/1.209, allocations: 353.1 kB / 1.177 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005662/1.215, allocations: 2.267 MB / 1.179 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/1.215, allocations: 2.312 kB / 1.179 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.116e-06/1.215, allocations: 4 kB / 1.179 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.67e-05/1.215, allocations: 0 / 1.179 GB, free: 4.324 MB / 0.7136 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.005857/1.221, allocations: 2.047 MB / 1.181 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.385e-05/1.221, allocations: 10.09 kB / 1.181 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004049/1.221, allocations: 154.3 kB / 1.181 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00335/1.225, allocations: 0.5931 MB / 1.182 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00314/1.228, allocations: 1.189 MB / 1.183 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006716/1.229, allocations: 215.4 kB / 1.183 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/1.229, allocations: 117.2 kB / 1.183 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/1.232, allocations: 1.36 MB / 1.185 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/1.232, allocations: 0 / 1.185 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/1.232, allocations: 49.81 kB / 1.185 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-05/1.232, allocations: 38.62 kB / 1.185 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00348/1.236, allocations: 1.385 MB / 1.186 GB, free: 15.84 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.01048/1.246, allocations: 5.361 MB / 1.191 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/1.249, allocations: 1.18 MB / 1.193 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009878/1.25, allocations: 0.608 MB / 1.193 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001626/1.252, allocations: 0.6391 MB / 1.194 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 3.637e-06/1.252, allocations: 0 / 1.194 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82): time 0.004725/1.257, allocations: 1.667 MB / 1.195 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/1.257, allocations: 144.9 kB / 1.196 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002104/1.259, allocations: 1.343 MB / 1.197 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002198/1.259, allocations: 47.14 kB / 1.197 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006569/1.26, allocations: 0.6555 MB / 1.198 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/1.26, allocations: 284.4 kB / 1.198 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-05/1.26, allocations: 22.78 kB / 1.198 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.26, allocations: 348.2 kB / 1.198 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/1.262, allocations: 0.5349 MB / 1.199 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/1.263, allocations: 0.8385 MB / 1.2 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/1.265, allocations: 0.6157 MB / 1.2 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/1.265, allocations: 0 / 1.2 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003841/1.269, allocations: 1.559 MB / 1.202 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009661/1.27, allocations: 1.991 MB / 1.204 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/1.27, allocations: 15.94 kB / 1.204 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/1.27, allocations: 12 kB / 1.204 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/1.272, allocations: 355.5 kB / 1.204 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007785/1.273, allocations: 1.188 MB / 1.205 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/1.275, allocations: 238.7 kB / 1.205 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/1.275, allocations: 60.02 kB / 1.205 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/1.275, allocations: 7.938 kB / 1.205 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003244/1.278, allocations: 1.388 MB / 1.207 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.278, allocations: 8 kB / 1.207 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/1.278, allocations: 16.17 kB / 1.207 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/1.279, allocations: 323.5 kB / 1.207 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/1.279, allocations: 15.94 kB / 1.207 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/1.281, allocations: 214.8 kB / 1.207 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/1.281, allocations: 59.97 kB / 1.207 GB, free: 13.97 MB / 0.7448 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.0009012/1.282, allocations: 410.2 kB / 1.208 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003551/1.283, allocations: 173.9 kB / 1.208 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003352/1.286, allocations: 1.377 MB / 1.209 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/1.286, allocations: 12 kB / 1.209 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.286, allocations: 0 / 1.209 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/1.286, allocations: 11.98 kB / 1.209 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005791/1.292, allocations: 2.914 MB / 1.212 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.292, allocations: 0 / 1.212 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.293, allocations: 256 kB / 1.212 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.881e-05/1.293, allocations: 8 kB / 1.212 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/1.293, allocations: 27.98 kB / 1.212 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007278/1.294, allocations: 1.191 MB / 1.214 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.294, allocations: 7.953 kB / 1.214 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005113/1.299, allocations: 2.36 MB / 1.216 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.3, allocations: 378.7 kB / 1.216 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/1.3, allocations: 24 kB / 1.216 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/1.302, allocations: 131.8 kB / 1.216 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.302, allocations: 76.45 kB / 1.217 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.771e-05/1.302, allocations: 43.97 kB / 1.217 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001428/1.303, allocations: 0.8908 MB / 1.217 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/1.303, allocations: 0 / 1.217 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002702/1.306, allocations: 0.827 MB / 1.218 GB, free: 2.535 MB / 0.7448 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.00685/1.313, allocations: 4.292 MB / 1.222 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005698/1.319, allocations: 2.225 MB / 1.225 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.319, allocations: 4 kB / 1.225 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/1.32, allocations: 0.665 MB / 1.225 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003779/1.324, allocations: 0.6915 MB / 1.226 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009473/1.334, allocations: 7.293 MB / 1.233 GB, free: 3.004 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009252/1.335, allocations: 1.27 MB / 1.234 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002272/1.337, allocations: 420.2 kB / 1.235 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009242/1.338, allocations: 0.5813 MB / 1.235 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of SimCode: time 8.12e-07/1.338, allocations: 0 / 1.235 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08663/1.425, allocations: 42.98 MB / 1.277 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/1.425, allocations: 286.1 kB / 1.278 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.564/4.988, allocations: 0 / 1.278 GB, free: 5.805 MB / 0.8073 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)