Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_11_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.001415/0.001415, 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.001345/0.001345, allocations: 191.4 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.416/2.416, allocations: 469.8 MB / 0.7424 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 67.77 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2258, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.5858/0.8117, allocations: 189.9 MB / 1.249 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02296/0.8347, allocations: 26.02 MB / 1.275 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.8362, allocations: 63.06 kB / 1.275 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007851/0.8441, allocations: 4.93 MB / 1.28 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007459/0.8515, allocations: 3.86 MB / 1.284 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003963/0.8555, allocations: 2.124 MB / 1.286 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007305/0.8628, allocations: 7.395 MB / 1.293 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.8644, allocations: 1.55 MB / 1.294 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003564/0.8679, allocations: 2.313 MB / 1.297 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.8692, allocations: 1.354 MB / 1.298 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002479/0.8695, allocations: 198.5 kB / 1.298 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007265/0.8767, allocations: 4.528 MB / 1.303 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004753/0.8772, allocations: 0.6608 MB / 1.303 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009406/0.8782, allocations: 1.204 MB / 1.304 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005072/0.8832, allocations: 5.616 MB / 1.31 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.8832, allocations: 0 / 1.31 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8833, allocations: 0.8438 kB / 1.31 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.8833, allocations: 0 / 1.31 GB, free: 3.062 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.003985/0.8873, allocations: 2.789 MB / 1.313 GB, free: 17.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.8873, allocations: 10.69 kB / 1.313 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.8875, allocations: 168.2 kB / 1.313 GB, free: 17.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003546/0.891, allocations: 0.6419 MB / 1.313 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003477/0.8945, allocations: 2.781 MB / 1.316 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/0.8946, allocations: 92.23 kB / 1.316 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.8947, allocations: 110.5 kB / 1.316 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.8967, allocations: 1.343 MB / 1.318 GB, free: 16.76 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.8967, allocations: 5.812 kB / 1.318 GB, free: 16.76 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.549e-05/0.8968, allocations: 50.34 kB / 1.318 GB, free: 16.76 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.8968, allocations: 37.22 kB / 1.318 GB, free: 16.76 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.899, allocations: 1.121 MB / 1.319 GB, free: 16.75 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.006304/0.9053, allocations: 6.789 MB / 1.325 GB, free: 13.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.9069, allocations: 0.8816 MB / 1.326 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006548/0.9076, allocations: 391.9 kB / 1.327 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006113/0.9137, allocations: 2.797 MB / 1.329 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008021/0.9145, allocations: 0.4883 MB / 1.33 GB, free: 11.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=69): time 1.783e-06/0.9145, allocations: 3.094 kB / 1.33 GB, free: 11.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.04346/0.958, allocations: 18.74 MB / 1.348 GB, free: 7.133 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.9581, allocations: 166.5 kB / 1.348 GB, free: 6.945 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.9602, allocations: 1.983 MB / 1.35 GB, free: 6.051 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-05/0.9603, allocations: 49.58 kB / 1.35 GB, free: 6.004 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006977/0.961, allocations: 0.862 MB / 1.351 GB, free: 5.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.9613, allocations: 301 kB / 1.351 GB, free: 4.996 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004183/0.9617, allocations: 337.7 kB / 1.352 GB, free: 4.809 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.9618, allocations: 304.2 kB / 1.352 GB, free: 4.512 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.963, allocations: 0.6539 MB / 1.353 GB, free: 4.176 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.9644, allocations: 1.053 MB / 1.354 GB, free: 3.355 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.9668, allocations: 1.626 MB / 1.355 GB, free: 2.297 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.9669, allocations: 7 kB / 1.355 GB, free: 2.293 MB / 1.014 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.00379/0.9707, allocations: 2.108 MB / 1.357 GB, free: 1.273 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9707, allocations: 16.73 kB / 1.357 GB, free: 1.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.9707, allocations: 15 kB / 1.357 GB, free: 1.266 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006605/0.9714, allocations: 221.1 kB / 1.358 GB, free: 1.156 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.9724, allocations: 323.8 kB / 1.358 GB, free: 1.094 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004399/0.9768, allocations: 4.148 MB / 1.362 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.9781, allocations: 111.9 kB / 1.362 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.9782, allocations: 72.8 kB / 1.362 GB, free: 13.18 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.0006565/0.9789, allocations: 0.5717 MB / 1.363 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/0.9793, allocations: 193.7 kB / 1.363 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003385/0.9827, allocations: 1.48 MB / 1.364 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.9827, allocations: 8 kB / 1.364 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.9827, allocations: 4 kB / 1.364 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002498/0.9852, allocations: 1.271 MB / 1.366 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02208/1.007, allocations: 9.21 MB / 1.375 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.007, allocations: 4 kB / 1.375 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007586/1.008, allocations: 177.4 kB / 1.375 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004784/1.009, allocations: 164.9 kB / 1.375 GB, free: 380 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-05/1.009, allocations: 31.98 kB / 1.375 GB, free: 348 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/1.012, allocations: 2.368 MB / 1.377 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.012, allocations: 11.38 kB / 1.377 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003635/1.015, allocations: 1.888 MB / 1.379 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005318/1.016, allocations: 394.5 kB / 1.379 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/1.016, allocations: 24 kB / 1.379 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/1.017, allocations: 79.92 kB / 1.38 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/1.017, allocations: 83.53 kB / 1.38 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-05/1.017, allocations: 35.98 kB / 1.38 GB, free: 11.26 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001759/1.019, allocations: 1.371 MB / 1.381 GB, free: 9.871 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.51e-07/1.019, allocations: 0 / 1.381 GB, free: 9.871 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003287/1.022, allocations: 1.375 MB / 1.382 GB, free: 8.496 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.00958/1.032, allocations: 3.618 MB / 1.386 GB, free: 5.023 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003405/1.035, allocations: 1.706 MB / 1.388 GB, free: 3.348 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.035, allocations: 4.062 kB / 1.388 GB, free: 3.344 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/1.037, allocations: 0.6361 MB / 1.388 GB, free: 2.719 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003308/1.04, allocations: 0.9623 MB / 1.389 GB, free: 1.793 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02414/1.064, allocations: 16.96 MB / 1.406 GB, free: 15.75 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/1.065, allocations: 1.498 MB / 1.407 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001527/1.067, allocations: 407.1 kB / 1.408 GB, free: 13.83 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.068, allocations: 0.7882 MB / 1.408 GB, free: 13.04 MB / 1.076 GB Notification: Performance of SimCode: time 2.51e-07/1.068, allocations: 0 / 1.408 GB, free: 13.04 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.749/4.817, allocations: 86.54 MB / 1.493 GB, free: 7.402 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.45/22.27, allocations: 11.72 kB / 1.493 GB, free: 7.391 MB / 1.154 GB (rm -f Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS_fmu --startTime=1.728e+06 --stopTime=1.8144e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1)