Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007479/0.0007479, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004495/0.004495, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.414/2.414, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 8 kB / 0.8729 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5549/0.5552, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.2005/0.7557, allocations: 205.9 MB / 1.224 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.7706, allocations: 10.74 MB / 1.235 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/0.7725, allocations: 51.62 kB / 1.235 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.7746, allocations: 0.672 MB / 1.235 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005801/0.7804, allocations: 2.277 MB / 1.238 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004825/0.7852, allocations: 2.011 MB / 1.24 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.5032/1.288, allocations: 4.582 MB / 1.244 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/1.29, allocations: 1.114 MB / 1.245 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003531/1.294, allocations: 1.696 MB / 1.247 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/1.296, allocations: 1.107 MB / 1.248 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002121/1.296, allocations: 61.81 kB / 1.248 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005368/1.302, allocations: 3.184 MB / 1.251 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005409/1.302, allocations: 374 kB / 1.251 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001377/1.304, allocations: 0.82 MB / 1.252 GB, free: 21.1 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005123/1.309, allocations: 3.29 MB / 1.255 GB, free: 21.01 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/1.309, allocations: 0 / 1.255 GB, free: 21.01 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/1.309, allocations: 0 / 1.255 GB, free: 21.01 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.546e-05/1.309, allocations: 1.094 kB / 1.255 GB, free: 21.01 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004602/1.313, allocations: 2.026 MB / 1.257 GB, free: 19.88 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/1.313, allocations: 12.12 kB / 1.257 GB, free: 19.88 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/1.314, allocations: 150.4 kB / 1.258 GB, free: 19.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/1.316, allocations: 0.58 MB / 1.258 GB, free: 19.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/1.319, allocations: 1.255 MB / 1.259 GB, free: 19.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006589/1.319, allocations: 216.7 kB / 1.26 GB, free: 19.29 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/1.319, allocations: 112 kB / 1.26 GB, free: 19.29 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/1.322, allocations: 1.349 MB / 1.261 GB, free: 19.15 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/1.322, allocations: 0 / 1.261 GB, free: 19.15 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.322, allocations: 44.28 kB / 1.261 GB, free: 19.15 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/1.322, allocations: 44.5 kB / 1.261 GB, free: 19.15 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003027/1.325, allocations: 1.395 MB / 1.262 GB, free: 19.12 MB / 0.9981 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.007259/1.333, allocations: 5.325 MB / 1.268 GB, free: 17.01 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/1.335, allocations: 1.055 MB / 1.269 GB, free: 16.87 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/1.336, allocations: 0.5672 MB / 1.269 GB, free: 16.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/1.337, allocations: 0.7771 MB / 1.27 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/1.338, allocations: 0.6352 MB / 1.271 GB, free: 16.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=81): time 2.374e-06/1.338, allocations: 0 / 1.271 GB, free: 16.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81): time 0.003809/1.342, allocations: 1.656 MB / 1.272 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/1.342, allocations: 66.45 kB / 1.272 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/1.344, allocations: 1.324 MB / 1.274 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/1.344, allocations: 49.78 kB / 1.274 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/1.344, allocations: 0.6408 MB / 1.274 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/1.344, allocations: 286.5 kB / 1.275 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/1.344, allocations: 94.23 kB / 1.275 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.345, allocations: 346.5 kB / 1.275 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/1.346, allocations: 0.5202 MB / 1.275 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/1.347, allocations: 0.7909 MB / 1.276 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/1.349, allocations: 1.219 MB / 1.277 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.349, allocations: 0 / 1.277 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00297/1.352, allocations: 1.512 MB / 1.279 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/1.353, allocations: 265.3 kB / 1.279 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.353, allocations: 3.406 kB / 1.279 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.353, allocations: 15.25 kB / 1.279 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/1.354, allocations: 345.2 kB / 1.28 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006029/1.355, allocations: 1.195 MB / 1.281 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/1.356, allocations: 234.6 kB / 1.281 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/1.356, allocations: 52.09 kB / 1.281 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/1.356, allocations: 7.531 kB / 1.281 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002737/1.359, allocations: 1.35 MB / 1.282 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.359, allocations: 5.25 kB / 1.282 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.804e-06/1.359, allocations: 9.406 kB / 1.282 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.36, allocations: 324.2 kB / 1.283 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/1.36, allocations: 18.3 kB / 1.283 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/1.362, allocations: 223.7 kB / 1.283 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.753e-05/1.362, allocations: 48.75 kB / 1.283 GB, free: 12.52 MB / 0.9981 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 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006291/1.363, allocations: 406 kB / 1.283 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/1.363, allocations: 160.9 kB / 1.283 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/1.366, allocations: 1.362 MB / 1.285 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/1.366, allocations: 16.58 kB / 1.285 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.366, allocations: 0 / 1.285 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.366, allocations: 7.891 kB / 1.285 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004587/1.37, allocations: 2.901 MB / 1.288 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.37, allocations: 1.781 kB / 1.288 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.372, allocations: 249 kB / 1.288 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/1.372, allocations: 8.562 kB / 1.288 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.12e-05/1.372, allocations: 34.22 kB / 1.288 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005106/1.372, allocations: 1.188 MB / 1.289 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.372, allocations: 8.906 kB / 1.289 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003873/1.376, allocations: 2.12 MB / 1.291 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/1.377, allocations: 364.7 kB / 1.291 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/1.377, allocations: 22.84 kB / 1.291 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.378, allocations: 157.6 kB / 1.292 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/1.378, allocations: 78.88 kB / 1.292 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.456e-05/1.378, allocations: 42.73 kB / 1.292 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001075/1.379, allocations: 0.8926 MB / 1.293 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.379, allocations: 0 / 1.293 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002036/1.381, allocations: 0.7868 MB / 1.293 GB, free: 9.637 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005299/1.387, allocations: 3.033 MB / 1.296 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00456/1.391, allocations: 2.109 MB / 1.298 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.391, allocations: 1.75 kB / 1.298 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001385/1.393, allocations: 0.6517 MB / 1.299 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004007/1.397, allocations: 0.6764 MB / 1.3 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/1.419, allocations: 12.8 MB / 1.312 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007069/1.419, allocations: 1.223 MB / 1.313 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001828/1.421, allocations: 412.9 kB / 1.314 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007273/1.422, allocations: 0.5668 MB / 1.314 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/1.422, allocations: 1.969 kB / 1.314 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.327/3.749, allocations: 40.82 MB / 1.354 GB, free: 9.254 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/3.75, allocations: 305.6 kB / 1.355 GB, free: 8.875 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.166/8.916, allocations: 0 / 1.355 GB, free: 8.875 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)