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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.776/2.776, allocations: 476.7 MB / 0.7678 GB, free: 9.395 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 76.98 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8831/0.8851, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2303/1.115, allocations: 193.6 MB / 1.468 GB, free: 10.23 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03966/1.155, allocations: 26.24 MB / 1.494 GB, free: 15.92 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/1.158, allocations: 87.25 kB / 1.494 GB, free: 15.84 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.006003/1.164, allocations: 2.014 MB / 1.496 GB, free: 13.82 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0117/1.176, allocations: 4.496 MB / 1.5 GB, free: 9.305 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.006063/1.182, allocations: 2.519 MB / 1.503 GB, free: 6.793 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01154/1.194, allocations: 7.717 MB / 1.51 GB, free: 15.06 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002446/1.196, allocations: 1.289 MB / 1.511 GB, free: 13.73 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005667/1.202, allocations: 2.443 MB / 1.514 GB, free: 11.29 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002682/1.204, allocations: 1.498 MB / 1.515 GB, free: 9.781 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004575/1.205, allocations: 211.9 kB / 1.515 GB, free: 9.574 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/1.216, allocations: 4.782 MB / 1.52 GB, free: 4.785 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001238/1.217, allocations: 0.6929 MB / 1.521 GB, free: 4.09 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002074/1.219, allocations: 1.229 MB / 1.522 GB, free: 2.855 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01373/1.233, allocations: 5.803 MB / 1.528 GB, free: 13.04 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/1.233, allocations: 0 / 1.528 GB, free: 13.04 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.954e-06/1.233, allocations: 0 / 1.528 GB, free: 13.04 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.909e-05/1.233, allocations: 0 / 1.528 GB, free: 13.04 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.008117/1.241, allocations: 2.936 MB / 1.53 GB, free: 10.02 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/1.241, allocations: 15.98 kB / 1.53 GB, free: 10.01 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.345e-05/1.241, allocations: 30.11 kB / 1.53 GB, free: 9.977 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002232/1.241, allocations: 164.6 kB / 1.531 GB, free: 9.805 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004682/1.246, allocations: 0.662 MB / 1.531 GB, free: 9.141 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006402/1.252, allocations: 2.893 MB / 1.534 GB, free: 6.199 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/1.252, allocations: 86.11 kB / 1.534 GB, free: 6.113 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/1.253, allocations: 112 kB / 1.534 GB, free: 6.004 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/1.256, allocations: 1.343 MB / 1.536 GB, free: 4.574 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/1.256, allocations: 4 kB / 1.536 GB, free: 4.57 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/1.256, allocations: 48 kB / 1.536 GB, free: 4.523 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/1.256, allocations: 41.98 kB / 1.536 GB, free: 4.484 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002933/1.259, allocations: 1.128 MB / 1.537 GB, free: 3.352 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.0102/1.269, allocations: 6.822 MB / 1.543 GB, free: 12.16 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/1.271, allocations: 0.7754 MB / 1.544 GB, free: 11.36 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008354/1.272, allocations: 364.1 kB / 1.545 GB, free: 10.99 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007597/1.279, allocations: 2.841 MB / 1.547 GB, free: 7.91 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/1.281, allocations: 0.4977 MB / 1.548 GB, free: 7.383 MB / 1.232 GB Notification: Performance of pre-optimization done (n=69): time 2.524e-06/1.281, allocations: 0 / 1.548 GB, free: 7.383 MB / 1.232 GB Notification: Performance of matching and sorting (n=83): time 0.05519/1.336, allocations: 18.96 MB / 1.566 GB, free: 4.328 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.336, allocations: 174.9 kB / 1.567 GB, free: 4.117 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/1.339, allocations: 2.029 MB / 1.568 GB, free: 2.047 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001759/1.339, allocations: 49.7 kB / 1.569 GB, free: 1.992 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008744/1.34, allocations: 0.8826 MB / 1.569 GB, free: 1.102 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/1.341, allocations: 313.4 kB / 1.57 GB, free: 0.793 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005375/1.341, allocations: 339.4 kB / 1.57 GB, free: 468 kB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.341, allocations: 305.1 kB / 1.57 GB, free: 160 kB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/1.343, allocations: 0.6559 MB / 1.571 GB, free: 15.5 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/1.344, allocations: 1.058 MB / 1.572 GB, free: 14.28 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002902/1.347, allocations: 1.633 MB / 1.574 GB, free: 12.51 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/1.347, allocations: 4 kB / 1.574 GB, free: 12.5 MB / 1.264 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005026/1.352, allocations: 2.129 MB / 1.576 GB, free: 10.36 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/1.352, allocations: 14.03 kB / 1.576 GB, free: 10.35 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/1.352, allocations: 11.94 kB / 1.576 GB, free: 10.34 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008246/1.353, allocations: 217.7 kB / 1.576 GB, free: 10.12 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/1.355, allocations: 319.5 kB / 1.576 GB, free: 9.809 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005312/1.36, allocations: 4.156 MB / 1.58 GB, free: 5.375 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/1.362, allocations: 106.4 kB / 1.58 GB, free: 5.273 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/1.362, allocations: 71.97 kB / 1.58 GB, free: 5.203 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 (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.001023/1.363, allocations: 0.5638 MB / 1.581 GB, free: 4.629 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007281/1.364, allocations: 202.6 kB / 1.581 GB, free: 4.43 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003883/1.368, allocations: 1.487 MB / 1.583 GB, free: 2.934 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/1.368, allocations: 12.19 kB / 1.583 GB, free: 2.922 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.368, allocations: 0 / 1.583 GB, free: 2.922 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00282/1.371, allocations: 1.265 MB / 1.584 GB, free: 1.582 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02692/1.398, allocations: 9.324 MB / 1.593 GB, free: 7.906 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.398, allocations: 4 kB / 1.593 GB, free: 7.902 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008551/1.398, allocations: 175.8 kB / 1.593 GB, free: 7.73 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005784/1.399, allocations: 160.8 kB / 1.593 GB, free: 7.57 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.988e-05/1.399, allocations: 31.92 kB / 1.593 GB, free: 7.539 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003432/1.402, allocations: 2.377 MB / 1.596 GB, free: 5.023 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/1.403, allocations: 15.88 kB / 1.596 GB, free: 5.008 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004625/1.407, allocations: 1.913 MB / 1.598 GB, free: 3.008 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009318/1.408, allocations: 407.6 kB / 1.598 GB, free: 2.59 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002987/1.408, allocations: 31.98 kB / 1.598 GB, free: 2.559 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/1.41, allocations: 79.92 kB / 1.598 GB, free: 2.48 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/1.41, allocations: 80.3 kB / 1.598 GB, free: 2.402 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.74e-05/1.41, allocations: 39.98 kB / 1.598 GB, free: 2.363 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002496/1.412, allocations: 1.406 MB / 1.6 GB, free: 0.9375 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/1.412, allocations: 0 / 1.6 GB, free: 0.9375 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004684/1.417, allocations: 1.397 MB / 1.601 GB, free: 15.54 MB / 1.295 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.01271/1.43, allocations: 3.658 MB / 1.604 GB, free: 11.95 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003965/1.434, allocations: 1.567 MB / 1.606 GB, free: 10.36 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.434, allocations: 4 kB / 1.606 GB, free: 10.35 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/1.435, allocations: 0.632 MB / 1.607 GB, free: 9.707 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004294/1.44, allocations: 0.9668 MB / 1.608 GB, free: 8.77 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0308/1.47, allocations: 15.9 MB / 1.623 GB, free: 8.211 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/1.472, allocations: 1.499 MB / 1.625 GB, free: 6.684 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001692/1.474, allocations: 407.2 kB / 1.625 GB, free: 6.285 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/1.475, allocations: 0.796 MB / 1.626 GB, free: 5.488 MB / 1.311 GB Notification: Performance of SimCode: time 7.91e-07/1.475, allocations: 0 / 1.626 GB, free: 5.488 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1526/1.627, allocations: 88.04 MB / 1.712 GB, free: 14.2 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.06/18.69, allocations: 18.45 kB / 1.712 GB, free: 14.19 MB / 1.404 GB " [Timeout remaining time 281] (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 --stepSize=34.56 --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) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 24.827050616964698] Failed to read output from testmodel.py, exit status != 0: 18.938715400057845 18.953977984 17.717794775 Calling exit ...