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.634/2.634, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.001593/0.001593, allocations: 185.8 kB / 370.8 MB, free: 10.88 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.066/2.066, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001148/0.001147, allocations: 85.34 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004896, allocations: 14.17 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2286, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.66/7.888, allocations: 2.358 GB / 3.336 GB, free: 260.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/7.889, allocations: 95.02 kB / 3.336 GB, free: 260.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.525/12.41, allocations: 0.9479 GB / 4.284 GB, free: 34.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.504e-06/12.41, allocations: 0 / 4.284 GB, free: 34.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001924/12.41, allocations: 51.92 kB / 4.284 GB, free: 34.04 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.009632/12.42, allocations: 2.397 MB / 4.287 GB, free: 31.57 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/12.42, allocations: 12.03 kB / 4.287 GB, free: 31.56 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000619/12.42, allocations: 152.2 kB / 4.287 GB, free: 31.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/12.43, allocations: 0.5559 MB / 4.288 GB, free: 30.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005154/12.44, allocations: 1.399 MB / 4.289 GB, free: 29.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001203/12.44, allocations: 226.3 kB / 4.289 GB, free: 29.17 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004512/12.44, allocations: 116 kB / 4.289 GB, free: 29.06 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004643/12.44, allocations: 1.402 MB / 4.291 GB, free: 27.61 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/12.44, allocations: 0 / 4.291 GB, free: 27.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/12.44, allocations: 47.97 kB / 4.291 GB, free: 27.56 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.024e-05/12.44, allocations: 42 kB / 4.291 GB, free: 27.52 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005951/12.45, allocations: 1.386 MB / 4.292 GB, free: 26.13 MB / 0.948 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.0147/12.46, allocations: 5.454 MB / 4.297 GB, free: 20.37 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004985/12.47, allocations: 1.116 MB / 4.298 GB, free: 19.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/12.47, allocations: 0.7474 MB / 4.299 GB, free: 18.35 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002638/12.47, allocations: 0.6445 MB / 4.3 GB, free: 17.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=81): time 4.769e-06/12.47, allocations: 0 / 4.3 GB, free: 17.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=81): time 0.007736/12.48, allocations: 1.691 MB / 4.301 GB, free: 16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/12.48, allocations: 192.6 kB / 4.302 GB, free: 15.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/12.48, allocations: 1.179 MB / 4.303 GB, free: 14.58 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003283/12.48, allocations: 49.7 kB / 4.303 GB, free: 14.53 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006499/12.48, allocations: 0.6475 MB / 4.303 GB, free: 13.87 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/12.48, allocations: 280 kB / 4.304 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/12.48, allocations: 24 kB / 4.304 GB, free: 13.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/12.48, allocations: 349.9 kB / 4.304 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002426/12.49, allocations: 0.5413 MB / 4.305 GB, free: 12.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002841/12.49, allocations: 0.8762 MB / 4.305 GB, free: 11.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002579/12.49, allocations: 0.6437 MB / 4.306 GB, free: 11.03 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/12.49, allocations: 7.938 kB / 4.306 GB, free: 11.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.006183/12.5, allocations: 1.559 MB / 4.308 GB, free: 9.449 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003927/12.5, allocations: 1.903 MB / 4.309 GB, free: 7.438 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.087e-05/12.5, allocations: 11.98 kB / 4.309 GB, free: 7.426 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/12.5, allocations: 11.95 kB / 4.309 GB, free: 7.414 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003232/12.5, allocations: 343.5 kB / 4.31 GB, free: 7.078 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007353/12.5, allocations: 1.199 MB / 4.311 GB, free: 5.832 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/12.51, allocations: 242.7 kB / 4.311 GB, free: 5.594 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/12.51, allocations: 68.02 kB / 4.311 GB, free: 5.527 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/12.51, allocations: 9.344 kB / 4.311 GB, free: 5.52 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005589/12.51, allocations: 1.403 MB / 4.313 GB, free: 4.109 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/12.51, allocations: 11.98 kB / 4.313 GB, free: 4.098 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/12.51, allocations: 8.188 kB / 4.313 GB, free: 4.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/12.51, allocations: 327.5 kB / 4.313 GB, free: 3.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/12.51, allocations: 8 kB / 4.313 GB, free: 3.762 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/12.52, allocations: 238.8 kB / 4.313 GB, free: 3.527 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/12.52, allocations: 51.97 kB / 4.313 GB, free: 3.477 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (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.001113/12.52, allocations: 429 kB / 4.314 GB, free: 3.047 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/12.52, allocations: 162 kB / 4.314 GB, free: 2.887 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005648/12.52, allocations: 1.388 MB / 4.315 GB, free: 1.488 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/12.52, allocations: 15.98 kB / 4.315 GB, free: 1.473 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/12.52, allocations: 3.938 kB / 4.315 GB, free: 1.469 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/12.52, allocations: 3.984 kB / 4.315 GB, free: 1.465 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009759/12.53, allocations: 2.905 MB / 4.318 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/12.53, allocations: 4 kB / 4.318 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002408/12.54, allocations: 244.1 kB / 4.318 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-05/12.54, allocations: 11.95 kB / 4.318 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/12.54, allocations: 31.97 kB / 4.318 GB, free: 14.17 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007667/12.54, allocations: 1.188 MB / 4.32 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/12.54, allocations: 11.89 kB / 4.32 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009008/12.55, allocations: 2.369 MB / 4.322 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/12.55, allocations: 390.5 kB / 4.322 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/12.55, allocations: 23.98 kB / 4.322 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002386/12.55, allocations: 139.9 kB / 4.322 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/12.55, allocations: 72.64 kB / 4.322 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/12.55, allocations: 43.97 kB / 4.322 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002034/12.55, allocations: 0.8949 MB / 4.323 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.71e-07/12.55, allocations: 0 / 4.323 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004671/12.56, allocations: 1.042 MB / 4.324 GB, free: 7.793 MB / 0.9636 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) * Number of clocked states: 0 () * 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.01495/12.57, allocations: 5.881 MB / 4.33 GB, free: 1.727 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.7281/13.3, allocations: 2.227 MB / 4.332 GB, free: 145.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/13.3, allocations: 0.8125 kB / 4.332 GB, free: 145.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003387/13.31, allocations: 0.6705 MB / 4.333 GB, free: 145.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006507/13.31, allocations: 0.6867 MB / 4.334 GB, free: 145.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/13.32, allocations: 7.216 MB / 4.341 GB, free: 140.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/13.33, allocations: 1.271 MB / 4.342 GB, free: 140 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003543/13.33, allocations: 413.6 kB / 4.342 GB, free: 139.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/13.33, allocations: 0.5859 MB / 4.343 GB, free: 139.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.252e-06/13.33, allocations: 0 / 4.343 GB, free: 139.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1697/13.5, allocations: 68.64 MB / 4.41 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/13.5, allocations: 279.7 kB / 4.41 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.961/19.46, allocations: 0 / 4.41 GB, free: 138.7 MB / 0.9636 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)