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.614/1.614, allocations: 288.4 MB / 303.3 MB, free: 8.258 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.001594/0.001594, allocations: 186.1 kB / 372 MB, free: 10.26 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.613/1.613, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0008856/0.0008853, allocations: 92.97 kB / 0.744 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004465, allocations: 12.38 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6313/0.8403, allocations: 192.5 MB / 1.168 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01999/0.8603, allocations: 12.44 MB / 1.18 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.8627, allocations: 61.5 kB / 1.18 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.8649, allocations: 0.5803 MB / 1.18 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006217/0.8712, allocations: 1.822 MB / 1.182 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009779/0.881, allocations: 2.767 MB / 1.185 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006782/0.8877, allocations: 3.992 MB / 1.189 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.8899, allocations: 1.003 MB / 1.19 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/0.8939, allocations: 1.551 MB / 1.191 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001899/0.8958, allocations: 1.048 MB / 1.192 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.896, allocations: 60.16 kB / 1.192 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0052/0.9013, allocations: 2.355 MB / 1.195 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004232/0.9017, allocations: 367.8 kB / 1.195 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0005869/0.9023, allocations: 349.7 kB / 1.195 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003458/0.9058, allocations: 2.388 MB / 1.198 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9058, allocations: 0 / 1.198 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.795e-06/0.9058, allocations: 0 / 1.198 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.019e-05/0.9058, allocations: 0 / 1.198 GB, free: 7.625 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.004745/0.9106, allocations: 2.086 MB / 1.2 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.9106, allocations: 9 kB / 1.2 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/0.9108, allocations: 155.6 kB / 1.2 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/0.9137, allocations: 0.5852 MB / 1.2 GB, free: 5.695 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.9163, allocations: 1.207 MB / 1.202 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006717/0.9169, allocations: 218.4 kB / 1.202 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.9171, allocations: 111 kB / 1.202 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.9199, allocations: 1.37 MB / 1.203 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.9199, allocations: 2.75 kB / 1.203 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.92, allocations: 48.8 kB / 1.203 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/0.9201, allocations: 41.17 kB / 1.203 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003188/0.9233, allocations: 1.391 MB / 1.205 GB, free: 3.105 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.009366/0.9327, allocations: 5.332 MB / 1.21 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002849/0.9355, allocations: 1.185 MB / 1.211 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.9368, allocations: 0.5657 MB / 1.212 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/0.938, allocations: 0.7785 MB / 1.212 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/0.9396, allocations: 0.6328 MB / 1.213 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 3.928e-06/0.9396, allocations: 4 kB / 1.213 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.004709/0.9444, allocations: 1.667 MB / 1.215 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/0.9445, allocations: 137.2 kB / 1.215 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/0.9469, allocations: 1.335 MB / 1.216 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.9471, allocations: 49.7 kB / 1.216 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000755/0.9478, allocations: 0.6545 MB / 1.217 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.9481, allocations: 279.9 kB / 1.217 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.9482, allocations: 24 kB / 1.217 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.9484, allocations: 353.9 kB / 1.217 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.9499, allocations: 0.5335 MB / 1.218 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.9516, allocations: 0.8412 MB / 1.219 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.9532, allocations: 0.6136 MB / 1.219 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.9532, allocations: 4 kB / 1.219 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003809/0.957, allocations: 1.563 MB / 1.221 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002277/0.9572, allocations: 266.8 kB / 1.221 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.9573, allocations: 4 kB / 1.221 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/0.9573, allocations: 12 kB / 1.221 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.9591, allocations: 351.5 kB / 1.221 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008292/0.9599, allocations: 1.203 MB / 1.223 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/0.962, allocations: 241.5 kB / 1.223 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.9622, allocations: 56.08 kB / 1.223 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.9622, allocations: 9.344 kB / 1.223 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003314/0.9655, allocations: 1.395 MB / 1.224 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.9655, allocations: 8 kB / 1.224 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.9656, allocations: 12 kB / 1.224 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.967, allocations: 319.8 kB / 1.225 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.607e-05/0.967, allocations: 19.92 kB / 1.225 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.9688, allocations: 226.8 kB / 1.225 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.9689, allocations: 51.97 kB / 1.225 GB, free: 14.61 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.0008475/0.9698, allocations: 429.6 kB / 1.225 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004722/0.9703, allocations: 150.1 kB / 1.225 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/0.9738, allocations: 1.376 MB / 1.227 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.9738, allocations: 11.98 kB / 1.227 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.9739, allocations: 4 kB / 1.227 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.9739, allocations: 3.984 kB / 1.227 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006172/0.98, allocations: 2.906 MB / 1.23 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.9801, allocations: 4 kB / 1.23 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.9814, allocations: 248.1 kB / 1.23 GB, free: 9.379 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/0.9814, allocations: 8 kB / 1.23 GB, free: 9.371 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.759e-05/0.9815, allocations: 27.98 kB / 1.23 GB, free: 9.344 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006705/0.9822, allocations: 1.199 MB / 1.231 GB, free: 8.098 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.9822, allocations: 4 kB / 1.231 GB, free: 8.094 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004807/0.987, allocations: 2.124 MB / 1.233 GB, free: 5.902 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009953/0.988, allocations: 374.7 kB / 1.234 GB, free: 5.516 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004677/0.9885, allocations: 23.98 kB / 1.234 GB, free: 5.492 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.9901, allocations: 131.8 kB / 1.234 GB, free: 5.363 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.9903, allocations: 88.39 kB / 1.234 GB, free: 5.277 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.9904, allocations: 35.97 kB / 1.234 GB, free: 5.242 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001814/0.9922, allocations: 0.8908 MB / 1.235 GB, free: 4.355 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.81e-07/0.9922, allocations: 0 / 1.235 GB, free: 4.355 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003768/0.996, allocations: 0.827 MB / 1.235 GB, free: 3.527 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.007747/1.004, allocations: 3.076 MB / 1.238 GB, free: 396 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005926/1.01, allocations: 2.218 MB / 1.241 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.01, allocations: 4.062 kB / 1.241 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001717/1.011, allocations: 0.6642 MB / 1.241 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004077/1.016, allocations: 0.7206 MB / 1.242 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02265/1.038, allocations: 9.629 MB / 1.251 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.039, allocations: 1.239 MB / 1.253 GB, free: 1.418 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002322/1.042, allocations: 416.3 kB / 1.253 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009609/1.043, allocations: 0.5774 MB / 1.254 GB, free: 440 kB / 0.7761 GB Notification: Performance of SimCode: time 1.092e-06/1.043, allocations: 0 / 1.254 GB, free: 440 kB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07832/1.121, allocations: 43.74 MB / 1.296 GB, free: 5.125 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/1.121, allocations: 286.9 kB / 1.297 GB, free: 4.77 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.622/4.743, allocations: 0 / 1.297 GB, free: 4.77 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)