Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",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.001138/0.001138, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 192 kB / 16.53 MB, free: 6.391 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.433/2.433, allocations: 461.9 MB / 0.7346 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.84 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2714, allocations: 157.4 MB / 1.053 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1859/0.4573, allocations: 189.9 MB / 1.238 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5304/0.9877, allocations: 26.01 MB / 1.264 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.9901, allocations: 64.78 kB / 1.264 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008898/0.999, allocations: 4.936 MB / 1.269 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/1.009, allocations: 3.859 MB / 1.272 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005001/1.014, allocations: 2.116 MB / 1.274 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009716/1.024, allocations: 7.395 MB / 1.282 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/1.026, allocations: 1.543 MB / 1.283 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004558/1.03, allocations: 2.311 MB / 1.285 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/1.032, allocations: 1.351 MB / 1.287 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002758/1.033, allocations: 198 kB / 1.287 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008307/1.041, allocations: 4.533 MB / 1.291 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005411/1.041, allocations: 0.6531 MB / 1.292 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001202/1.043, allocations: 1.206 MB / 1.293 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00656/1.049, allocations: 5.612 MB / 1.299 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/1.049, allocations: 1.812 kB / 1.299 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.454e-06/1.049, allocations: 0 / 1.299 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.561e-05/1.049, allocations: 4.625 kB / 1.299 GB, free: 1.328 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004622/1.054, allocations: 2.788 MB / 1.301 GB, free: 15.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/1.054, allocations: 11.75 kB / 1.301 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/1.054, allocations: 162.1 kB / 1.302 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003865/1.058, allocations: 0.6431 MB / 1.302 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004001/1.062, allocations: 2.783 MB / 1.305 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.669e-05/1.062, allocations: 91.05 kB / 1.305 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/1.062, allocations: 112.4 kB / 1.305 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/1.064, allocations: 1.342 MB / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/1.064, allocations: 3.094 kB / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/1.065, allocations: 45.59 kB / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/1.065, allocations: 42.33 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/1.067, allocations: 1.123 MB / 1.308 GB, free: 15.02 MB / 1.014 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.007249/1.074, allocations: 6.803 MB / 1.314 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/1.076, allocations: 0.8623 MB / 1.315 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007314/1.077, allocations: 395.9 kB / 1.315 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006796/1.084, allocations: 2.803 MB / 1.318 GB, free: 10.25 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009099/1.085, allocations: 0.4906 MB / 1.319 GB, free: 10.15 MB / 1.014 GB Notification: Performance of pre-optimization done (n=69): time 2.264e-06/1.085, allocations: 0 / 1.319 GB, free: 10.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.04993/1.135, allocations: 18.73 MB / 1.337 GB, free: 6.574 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.135, allocations: 175.2 kB / 1.337 GB, free: 6.383 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/1.138, allocations: 1.982 MB / 1.339 GB, free: 5.828 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/1.138, allocations: 52.08 kB / 1.339 GB, free: 5.793 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008008/1.139, allocations: 0.8633 MB / 1.34 GB, free: 5.422 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/1.139, allocations: 302.8 kB / 1.34 GB, free: 5.207 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004934/1.139, allocations: 341.2 kB / 1.341 GB, free: 5.137 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.139, allocations: 301.1 kB / 1.341 GB, free: 4.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/1.141, allocations: 0.646 MB / 1.341 GB, free: 4.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/1.143, allocations: 1.067 MB / 1.343 GB, free: 4.203 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002796/1.145, allocations: 1.627 MB / 1.344 GB, free: 3.684 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/1.145, allocations: 6.906 kB / 1.344 GB, free: 3.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004782/1.15, allocations: 2.105 MB / 1.346 GB, free: 3.266 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/1.15, allocations: 13.72 kB / 1.346 GB, free: 3.262 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.15, allocations: 9.281 kB / 1.346 GB, free: 3.262 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008078/1.151, allocations: 223.8 kB / 1.346 GB, free: 3.199 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/1.152, allocations: 319.4 kB / 1.347 GB, free: 3.152 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004892/1.157, allocations: 4.158 MB / 1.351 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/1.159, allocations: 123.8 kB / 1.351 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/1.159, allocations: 64.47 kB / 1.351 GB, free: 15.93 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.bui.QHea.nextTimeEvent,$whenCondition1,bui.QHea.nextTimeEventScaled,$PRE.bui.QHea.nextTimeEventScaled,bui.QHea.nextTimeEvent,bui.IntEHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 158 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009268/1.16, allocations: 0.5706 MB / 1.352 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005313/1.161, allocations: 187.5 kB / 1.352 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/1.164, allocations: 1.49 MB / 1.353 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.164, allocations: 12.11 kB / 1.353 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.164, allocations: 2.438 kB / 1.353 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002423/1.167, allocations: 1.266 MB / 1.354 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0233/1.19, allocations: 9.214 MB / 1.363 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/1.19, allocations: 8 kB / 1.363 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007889/1.191, allocations: 173.5 kB / 1.364 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/1.192, allocations: 163.9 kB / 1.364 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-05/1.192, allocations: 31.98 kB / 1.364 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/1.195, allocations: 2.368 MB / 1.366 GB, free: 4.371 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.195, allocations: 7.188 kB / 1.366 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003914/1.198, allocations: 1.885 MB / 1.368 GB, free: 2.402 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007372/1.199, allocations: 398.5 kB / 1.368 GB, free: 1.992 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003674/1.2, allocations: 28 kB / 1.368 GB, free: 1.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/1.201, allocations: 79.92 kB / 1.368 GB, free: 1.887 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.201, allocations: 71.55 kB / 1.368 GB, free: 1.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.523e-05/1.201, allocations: 47.97 kB / 1.369 GB, free: 1.773 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001966/1.203, allocations: 1.371 MB / 1.37 GB, free: 388 kB / 1.029 GB Notification: Performance of sort global known variables: time 1.262e-06/1.203, allocations: 0 / 1.37 GB, free: 388 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.004544/1.208, allocations: 1.374 MB / 1.371 GB, free: 15.01 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 7 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.filter.s[1],bui.pumCNR.filter.s[2],bui.vol.VWat,bui.hIn.h_out,bui.hOut.h_out) * Number of discrete variables: 3 ($whenCondition1,bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of discrete states: 2 (bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01092/1.219, allocations: 3.632 MB / 1.375 GB, free: 11.53 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003942/1.223, allocations: 1.695 MB / 1.376 GB, free: 9.859 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.223, allocations: 8.062 kB / 1.376 GB, free: 9.852 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/1.224, allocations: 0.6479 MB / 1.377 GB, free: 9.223 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004552/1.229, allocations: 0.9594 MB / 1.378 GB, free: 8.301 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02931/1.258, allocations: 16.95 MB / 1.395 GB, free: 6.262 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/1.259, allocations: 1.491 MB / 1.396 GB, free: 4.742 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001976/1.261, allocations: 406.6 kB / 1.396 GB, free: 4.344 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/1.262, allocations: 0.7882 MB / 1.397 GB, free: 3.555 MB / 1.061 GB Notification: Performance of SimCode: time 1.203e-06/1.262, allocations: 4 kB / 1.397 GB, free: 3.551 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.505/2.768, allocations: 86.7 MB / 1.482 GB, free: 13.71 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.91/23.68, allocations: 10.58 kB / 1.482 GB, free: 13.7 MB / 1.154 GB (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS_fmu --startTime=1.728e+06 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1)