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.004334/0.004334, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.00117/0.00117, allocations: 195.8 kB / 16.68 MB, free: 5.523 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.453/2.453, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 67.89 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5994/0.6012, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1819/0.7831, allocations: 189.9 MB / 1.406 GB, free: 3.48 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02988/0.813, allocations: 26.04 MB / 1.431 GB, free: 9.371 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.8151, allocations: 63.69 kB / 1.431 GB, free: 9.309 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004737/0.8198, allocations: 1.974 MB / 1.433 GB, free: 7.328 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.009152/0.829, allocations: 4.327 MB / 1.437 GB, free: 2.988 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004598/0.8336, allocations: 2.396 MB / 1.44 GB, free: 0.5977 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.009476/0.8431, allocations: 7.699 MB / 1.447 GB, free: 8.883 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.8451, allocations: 1.586 MB / 1.449 GB, free: 7.258 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003974/0.849, allocations: 2.337 MB / 1.451 GB, free: 4.914 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.8507, allocations: 1.432 MB / 1.452 GB, free: 3.477 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002588/0.851, allocations: 211.9 kB / 1.452 GB, free: 3.27 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007799/0.8588, allocations: 4.708 MB / 1.457 GB, free: 14.55 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005725/0.8593, allocations: 0.6776 MB / 1.458 GB, free: 13.88 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.8604, allocations: 1.221 MB / 1.459 GB, free: 12.65 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006309/0.8668, allocations: 5.787 MB / 1.465 GB, free: 6.84 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.8668, allocations: 0 / 1.465 GB, free: 6.84 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8668, allocations: 4 kB / 1.465 GB, free: 6.836 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.8668, allocations: 0 / 1.465 GB, free: 6.836 MB / 1.186 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.004527/0.8713, allocations: 2.924 MB / 1.467 GB, free: 3.836 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.8714, allocations: 8.031 kB / 1.467 GB, free: 3.828 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.8716, allocations: 168.7 kB / 1.468 GB, free: 3.652 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003945/0.8755, allocations: 0.6619 MB / 1.468 GB, free: 2.988 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004402/0.8799, allocations: 2.896 MB / 1.471 GB, free: 44 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.371e-05/0.88, allocations: 86.17 kB / 1.471 GB, free: 15.95 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.8802, allocations: 116 kB / 1.471 GB, free: 15.84 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.8825, allocations: 1.343 MB / 1.473 GB, free: 14.41 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.8826, allocations: 3.938 kB / 1.473 GB, free: 14.41 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.8827, allocations: 48 kB / 1.473 GB, free: 14.36 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.8827, allocations: 38 kB / 1.473 GB, free: 14.32 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.8853, allocations: 1.132 MB / 1.474 GB, free: 13.19 MB / 1.201 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.007699/0.893, allocations: 6.819 MB / 1.48 GB, free: 6 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.8948, allocations: 0.8007 MB / 1.481 GB, free: 5.172 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007671/0.8956, allocations: 388.1 kB / 1.482 GB, free: 4.785 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006754/0.9024, allocations: 2.833 MB / 1.484 GB, free: 1.711 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009738/0.9034, allocations: 0.5016 MB / 1.485 GB, free: 1.188 MB / 1.201 GB Notification: Performance of pre-optimization done (n=69): time 2.244e-06/0.9034, allocations: 0 / 1.485 GB, free: 1.188 MB / 1.201 GB Notification: Performance of matching and sorting (n=83): time 0.04917/0.9526, allocations: 18.96 MB / 1.503 GB, free: 14.12 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.666e-05/0.9527, allocations: 162.9 kB / 1.504 GB, free: 13.93 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/0.9553, allocations: 2.029 MB / 1.506 GB, free: 11.86 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.515e-05/0.9553, allocations: 49.69 kB / 1.506 GB, free: 11.8 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000748/0.9561, allocations: 0.8787 MB / 1.506 GB, free: 10.91 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.9564, allocations: 317.3 kB / 1.507 GB, free: 10.6 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004491/0.9568, allocations: 339.4 kB / 1.507 GB, free: 10.27 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.9569, allocations: 305.1 kB / 1.507 GB, free: 9.965 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.9582, allocations: 0.6442 MB / 1.508 GB, free: 9.32 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.9597, allocations: 1.066 MB / 1.509 GB, free: 8.094 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002579/0.9623, allocations: 1.633 MB / 1.511 GB, free: 6.324 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.9623, allocations: 4 kB / 1.511 GB, free: 6.32 MB / 1.232 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004091/0.9664, allocations: 2.126 MB / 1.513 GB, free: 4.18 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.9664, allocations: 18.2 kB / 1.513 GB, free: 4.164 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.9665, allocations: 12 kB / 1.513 GB, free: 4.152 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006958/0.9672, allocations: 217.6 kB / 1.513 GB, free: 3.934 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.9683, allocations: 315.5 kB / 1.513 GB, free: 3.625 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004612/0.9729, allocations: 4.148 MB / 1.517 GB, free: 15.2 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.9743, allocations: 120.9 kB / 1.517 GB, free: 15.08 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.9744, allocations: 75.97 kB / 1.517 GB, free: 15.01 MB / 1.248 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.0007169/0.9751, allocations: 0.5598 MB / 1.518 GB, free: 14.44 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004719/0.9756, allocations: 198.7 kB / 1.518 GB, free: 14.24 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003339/0.979, allocations: 1.493 MB / 1.52 GB, free: 12.73 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.979, allocations: 12 kB / 1.52 GB, free: 12.72 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.979, allocations: 0 / 1.52 GB, free: 12.72 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002506/0.9815, allocations: 1.269 MB / 1.521 GB, free: 11.38 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0223/1.004, allocations: 9.312 MB / 1.53 GB, free: 1.723 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/1.004, allocations: 8.094 kB / 1.53 GB, free: 1.715 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007561/1.005, allocations: 179.8 kB / 1.53 GB, free: 1.539 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005053/1.005, allocations: 152.8 kB / 1.53 GB, free: 1.387 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.118e-05/1.005, allocations: 35.97 kB / 1.53 GB, free: 1.352 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/1.008, allocations: 2.373 MB / 1.533 GB, free: 14.84 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/1.008, allocations: 15.88 kB / 1.533 GB, free: 14.82 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003753/1.012, allocations: 1.897 MB / 1.535 GB, free: 12.84 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005788/1.013, allocations: 415.6 kB / 1.535 GB, free: 12.41 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/1.013, allocations: 28.19 kB / 1.535 GB, free: 12.39 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.014, allocations: 83.86 kB / 1.535 GB, free: 12.3 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/1.014, allocations: 80.34 kB / 1.535 GB, free: 12.23 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.3e-05/1.014, allocations: 39.92 kB / 1.535 GB, free: 12.19 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001946/1.016, allocations: 1.402 MB / 1.537 GB, free: 10.77 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.51e-07/1.016, allocations: 0 / 1.537 GB, free: 10.77 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003423/1.02, allocations: 1.397 MB / 1.538 GB, free: 9.367 MB / 1.264 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.009644/1.029, allocations: 3.684 MB / 1.541 GB, free: 5.754 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003316/1.032, allocations: 1.656 MB / 1.543 GB, free: 4.074 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.033, allocations: 4 kB / 1.543 GB, free: 4.07 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/1.034, allocations: 0.6519 MB / 1.544 GB, free: 3.406 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003391/1.037, allocations: 0.9518 MB / 1.545 GB, free: 2.48 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02449/1.062, allocations: 15.89 MB / 1.56 GB, free: 1.93 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/1.063, allocations: 1.495 MB / 1.562 GB, free: 416 kB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001398/1.064, allocations: 406.8 kB / 1.562 GB, free: 8 kB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4569/1.521, allocations: 0.7841 MB / 1.563 GB, free: 325.9 MB / 1.279 GB Notification: Performance of SimCode: time 8.01e-07/1.521, allocations: 4.438 kB / 1.563 GB, free: 325.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.142/6.663, allocations: 87.74 MB / 1.648 GB, free: 265 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.71/33.38, allocations: 6.734 kB / 1.648 GB, free: 265 MB / 1.279 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)