Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.508/2.508, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.001501/0.001501, allocations: 176.8 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 102.1 kB / 0.7321 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.091e-05, allocations: 4 kB / 0.8508 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8405/0.8406, allocations: 115.3 MB / 0.9634 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.044/7.884, allocations: 2.357 GB / 3.321 GB, free: 121.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/7.885, allocations: 87.84 kB / 3.321 GB, free: 121.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.249/13.13, allocations: 0.9381 GB / 4.259 GB, free: 135.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.505e-06/13.13, allocations: 0 / 4.259 GB, free: 135.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002354/13.13, allocations: 51.06 kB / 4.259 GB, free: 135.5 MB / 0.948 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.008696/13.14, allocations: 2.109 MB / 4.261 GB, free: 134.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/13.14, allocations: 11.22 kB / 4.261 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005155/13.15, allocations: 0.5474 MB / 4.262 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00522/13.15, allocations: 1.396 MB / 4.263 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001173/13.15, allocations: 176.7 kB / 4.263 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004852/13.15, allocations: 69.19 kB / 4.263 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002703/13.16, allocations: 0.9614 MB / 4.264 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/13.16, allocations: 1.086 MB / 4.265 GB, free: 134 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/13.16, allocations: 0 / 4.265 GB, free: 134 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/13.16, allocations: 3.5 kB / 4.265 GB, free: 134 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.751e-05/13.16, allocations: 43.77 kB / 4.265 GB, free: 134 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01458/13.18, allocations: 5.29 MB / 4.27 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/13.18, allocations: 0.7407 MB / 4.271 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008423/13.18, allocations: 394.4 kB / 4.272 GB, free: 131.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/13.18, allocations: 0.7541 MB / 4.272 GB, free: 131.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/13.18, allocations: 495 kB / 4.273 GB, free: 131.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=81): time 4.208e-06/13.18, allocations: 0 / 4.273 GB, free: 131.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=81): time 0.003502/13.18, allocations: 0.9557 MB / 4.274 GB, free: 131 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/13.18, allocations: 194.5 kB / 4.274 GB, free: 130.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/13.19, allocations: 0.9119 MB / 4.275 GB, free: 130.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003333/13.19, allocations: 25.7 kB / 4.275 GB, free: 130.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007048/13.19, allocations: 0.6626 MB / 4.275 GB, free: 130.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/13.19, allocations: 267.4 kB / 4.276 GB, free: 130.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.701e-05/13.19, allocations: 3.031 kB / 4.276 GB, free: 130.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001068/13.19, allocations: 354.5 kB / 4.276 GB, free: 129.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009674/13.19, allocations: 387.2 kB / 4.276 GB, free: 129.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/13.19, allocations: 0.7209 MB / 4.277 GB, free: 129.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/13.19, allocations: 0.5093 MB / 4.278 GB, free: 129.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/13.19, allocations: 0 / 4.278 GB, free: 129.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003918/13.2, allocations: 1.233 MB / 4.279 GB, free: 129.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005152/13.2, allocations: 2.061 MB / 4.281 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/13.2, allocations: 15.09 kB / 4.281 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.405e-05/13.2, allocations: 10.34 kB / 4.281 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/13.2, allocations: 349.7 kB / 4.281 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008162/13.2, allocations: 1.21 MB / 4.282 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/13.2, allocations: 194 kB / 4.283 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003892/13.2, allocations: 59.25 kB / 4.283 GB, free: 126.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/13.2, allocations: 6.781 kB / 4.283 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003824/13.21, allocations: 1.053 MB / 4.284 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.855e-05/13.21, allocations: 10.91 kB / 4.284 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/13.21, allocations: 10.59 kB / 4.284 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/13.21, allocations: 328.3 kB / 4.284 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/13.21, allocations: 20.61 kB / 4.284 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003113/13.21, allocations: 183.4 kB / 4.284 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004337/13.21, allocations: 59.61 kB / 4.284 GB, free: 126 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * 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.0004804/13.22, allocations: 141.6 kB / 4.284 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003223/13.22, allocations: 0.9179 MB / 4.285 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005314/13.22, allocations: 139.4 kB / 4.285 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/13.22, allocations: 1.092 MB / 4.286 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/13.22, allocations: 19.55 kB / 4.286 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/13.22, allocations: 2.953 kB / 4.286 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/13.22, allocations: 6.547 kB / 4.286 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007281/13.23, allocations: 2.507 MB / 4.289 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/13.23, allocations: 3.688 kB / 4.289 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002333/13.23, allocations: 253.3 kB / 4.289 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.877e-05/13.23, allocations: 7.469 kB / 4.289 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/13.23, allocations: 20.59 kB / 4.289 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005959/13.23, allocations: 1.195 MB / 4.29 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/13.23, allocations: 7.438 kB / 4.29 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004753/13.24, allocations: 1.911 MB / 4.292 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/13.24, allocations: 360.4 kB / 4.293 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003176/13.24, allocations: 3.406 kB / 4.293 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002491/13.24, allocations: 141.1 kB / 4.293 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/13.24, allocations: 75.5 kB / 4.293 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/13.24, allocations: 41.77 kB / 4.293 GB, free: 123.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00141/13.24, allocations: 0.678 MB / 4.293 GB, free: 123.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.1e-07/13.24, allocations: 0 / 4.293 GB, free: 123.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00509/13.25, allocations: 0.9817 MB / 4.294 GB, free: 122.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.00986/13.26, allocations: 5.612 MB / 4.3 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005073/13.26, allocations: 1.768 MB / 4.302 GB, free: 120.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/13.26, allocations: 2.906 kB / 4.302 GB, free: 120.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/13.27, allocations: 0.5076 MB / 4.302 GB, free: 120.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005029/13.27, allocations: 0.5191 MB / 4.303 GB, free: 120.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008846/13.28, allocations: 2.354 MB / 4.305 GB, free: 119.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008991/13.28, allocations: 1.27 MB / 4.306 GB, free: 118.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004063/13.29, allocations: 457.4 kB / 4.307 GB, free: 118.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/13.29, allocations: 0.5726 MB / 4.307 GB, free: 118.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.813e-06/13.29, allocations: 0 / 4.307 GB, free: 118.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1482/13.44, allocations: 51.63 MB / 4.358 GB, free: 116.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/13.44, allocations: 208.6 kB / 4.358 GB, free: 115.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.05/18.49, allocations: 0 / 4.358 GB, free: 115.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)