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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.006739/0.006739, allocations: 101.2 kB / 15.73 MB, free: 6.062 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.001835/0.001835, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.609/2.609, allocations: 482.6 MB / 0.7551 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 71.69 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2786, allocations: 162.3 MB / 1.242 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1906/0.4693, allocations: 189.9 MB / 1.427 GB, free: 10.37 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03261/0.5019, allocations: 26.05 MB / 1.453 GB, free: 256 kB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/0.504, allocations: 59.69 kB / 1.453 GB, free: 196 kB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005039/0.5091, allocations: 1.976 MB / 1.455 GB, free: 14.21 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.5192, allocations: 4.321 MB / 1.459 GB, free: 9.871 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00522/0.5245, allocations: 2.395 MB / 1.461 GB, free: 7.484 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.009956/0.5344, allocations: 7.458 MB / 1.469 GB, free: 16 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/0.5368, allocations: 1.563 MB / 1.47 GB, free: 14.41 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005494/0.5423, allocations: 2.576 MB / 1.473 GB, free: 11.83 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002491/0.5448, allocations: 1.385 MB / 1.474 GB, free: 10.44 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003643/0.5452, allocations: 204 kB / 1.474 GB, free: 10.24 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008727/0.5539, allocations: 4.716 MB / 1.479 GB, free: 5.516 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.5551, allocations: 0.6542 MB / 1.479 GB, free: 4.859 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00176/0.5569, allocations: 1.217 MB / 1.481 GB, free: 3.637 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.008486/0.5654, allocations: 5.752 MB / 1.486 GB, free: 13.87 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5654, allocations: 0 / 1.486 GB, free: 13.87 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5654, allocations: 0 / 1.486 GB, free: 13.87 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.291e-05/0.5654, allocations: 0 / 1.486 GB, free: 13.87 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.004895/0.5703, allocations: 2.912 MB / 1.489 GB, free: 10.88 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.5704, allocations: 12.03 kB / 1.489 GB, free: 10.87 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001822/0.5706, allocations: 152.6 kB / 1.489 GB, free: 10.71 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004142/0.5747, allocations: 0.6698 MB / 1.49 GB, free: 10.04 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005029/0.5798, allocations: 2.869 MB / 1.493 GB, free: 7.117 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/0.5799, allocations: 90.08 kB / 1.493 GB, free: 7.027 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.5801, allocations: 112 kB / 1.493 GB, free: 6.918 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/0.5827, allocations: 1.341 MB / 1.494 GB, free: 5.492 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.5828, allocations: 0 / 1.494 GB, free: 5.492 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.5829, allocations: 51.88 kB / 1.494 GB, free: 5.441 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.5829, allocations: 28 kB / 1.494 GB, free: 5.414 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/0.5856, allocations: 1.12 MB / 1.495 GB, free: 4.293 MB / 1.217 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.008714/0.5943, allocations: 6.79 MB / 1.502 GB, free: 13.12 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.5963, allocations: 0.8025 MB / 1.503 GB, free: 12.3 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008284/0.5971, allocations: 393.6 kB / 1.503 GB, free: 11.91 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00706/0.6042, allocations: 2.821 MB / 1.506 GB, free: 8.844 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.6054, allocations: 0.5016 MB / 1.506 GB, free: 8.312 MB / 1.232 GB Notification: Performance of pre-optimization done (n=67): time 2.073e-06/0.6054, allocations: 0 / 1.506 GB, free: 8.312 MB / 1.232 GB Notification: Performance of matching and sorting (n=81): time 0.05053/0.6559, allocations: 18.84 MB / 1.525 GB, free: 5.391 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.656, allocations: 174.8 kB / 1.525 GB, free: 5.184 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/0.6589, allocations: 2.008 MB / 1.527 GB, free: 3.133 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/0.659, allocations: 45.7 kB / 1.527 GB, free: 3.082 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007881/0.6597, allocations: 0.8785 MB / 1.528 GB, free: 2.195 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/0.66, allocations: 305.4 kB / 1.528 GB, free: 1.895 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004705/0.6605, allocations: 335.4 kB / 1.528 GB, free: 1.562 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6606, allocations: 301.1 kB / 1.529 GB, free: 1.266 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.662, allocations: 0.6481 MB / 1.529 GB, free: 0.6172 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.6637, allocations: 1.062 MB / 1.53 GB, free: 15.39 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/0.6665, allocations: 1.633 MB / 1.532 GB, free: 13.61 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.6665, allocations: 3.938 kB / 1.532 GB, free: 13.61 MB / 1.264 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.004442/0.671, allocations: 2.106 MB / 1.534 GB, free: 11.49 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.671, allocations: 12 kB / 1.534 GB, free: 11.48 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.671, allocations: 16.02 kB / 1.534 GB, free: 11.46 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007428/0.6718, allocations: 213.8 kB / 1.534 GB, free: 11.25 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.6729, allocations: 311.5 kB / 1.535 GB, free: 10.95 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00508/0.678, allocations: 4.178 MB / 1.539 GB, free: 6.496 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.6795, allocations: 107.9 kB / 1.539 GB, free: 6.391 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.6796, allocations: 67.97 kB / 1.539 GB, free: 6.324 MB / 1.264 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 (159): * Single equations (assignments): 155 * 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.0008455/0.6805, allocations: 0.5574 MB / 1.539 GB, free: 5.758 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004975/0.681, allocations: 198.7 kB / 1.54 GB, free: 5.562 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/0.6845, allocations: 1.488 MB / 1.541 GB, free: 4.055 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.6845, allocations: 8 kB / 1.541 GB, free: 4.047 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6845, allocations: 0 / 1.541 GB, free: 4.047 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002652/0.6872, allocations: 1.261 MB / 1.542 GB, free: 2.715 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5064/1.194, allocations: 9.287 MB / 1.551 GB, free: 289.4 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.194, allocations: 5.344 kB / 1.551 GB, free: 289.4 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007383/1.194, allocations: 180.2 kB / 1.551 GB, free: 289.4 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005048/1.195, allocations: 157.6 kB / 1.552 GB, free: 289.4 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.56e-05/1.195, allocations: 37.05 kB / 1.552 GB, free: 289.4 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/1.197, allocations: 2.374 MB / 1.554 GB, free: 287.7 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.197, allocations: 6.344 kB / 1.554 GB, free: 287.7 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003696/1.201, allocations: 1.901 MB / 1.556 GB, free: 286.8 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006038/1.202, allocations: 410.6 kB / 1.556 GB, free: 286.6 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/1.202, allocations: 36.53 kB / 1.556 GB, free: 286.6 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.203, allocations: 87.41 kB / 1.556 GB, free: 286.6 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/1.203, allocations: 72.42 kB / 1.556 GB, free: 286.6 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.04e-05/1.203, allocations: 39.69 kB / 1.556 GB, free: 286.6 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001918/1.205, allocations: 1.399 MB / 1.558 GB, free: 286 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.71e-07/1.205, allocations: 0 / 1.558 GB, free: 286 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003366/1.209, allocations: 1.388 MB / 1.559 GB, free: 285.9 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.motSpe.y,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 (80): * Single equations (assignments): 77 * 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.00962/1.218, allocations: 3.666 MB / 1.563 GB, free: 284.5 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003319/1.222, allocations: 1.661 MB / 1.564 GB, free: 283.7 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.567e-06/1.222, allocations: 1.922 kB / 1.564 GB, free: 283.7 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/1.223, allocations: 0.6465 MB / 1.565 GB, free: 283.4 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/1.227, allocations: 0.9662 MB / 1.566 GB, free: 283.2 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/1.249, allocations: 15.83 MB / 1.581 GB, free: 275.6 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/1.25, allocations: 1.484 MB / 1.583 GB, free: 274.7 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001438/1.251, allocations: 397.9 kB / 1.583 GB, free: 274.7 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008386/1.252, allocations: 0.7999 MB / 1.584 GB, free: 274.1 MB / 1.264 GB Notification: Performance of SimCode: time 6.21e-07/1.252, allocations: 2.844 kB / 1.584 GB, free: 274.1 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.226/2.478, allocations: 87.43 MB / 1.669 GB, free: 195.5 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.82/37.3, allocations: 0 / 1.669 GB, free: 195.5 MB / 1.264 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=400 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1)