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.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.001282/0.001282, allocations: 117.4 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.001379/0.001379, allocations: 214.3 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.967/2.967, allocations: 0.5003 GB / 0.8026 GB, free: 6.703 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_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.002093/0.002093, allocations: 63.91 kB / 1.165 GB, free: 476 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8767/0.8788, allocations: 178.9 MB / 1.34 GB, free: 16.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2312/1.11, allocations: 193.6 MB / 1.529 GB, free: 6.449 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03844/1.148, allocations: 26.28 MB / 1.555 GB, free: 12.1 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002648/1.151, allocations: 79.38 kB / 1.555 GB, free: 12.02 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.005902/1.157, allocations: 2.025 MB / 1.557 GB, free: 9.992 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01228/1.169, allocations: 4.502 MB / 1.561 GB, free: 5.477 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006896/1.176, allocations: 2.525 MB / 1.564 GB, free: 2.957 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.0123/1.188, allocations: 7.477 MB / 1.571 GB, free: 11.46 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003395/1.192, allocations: 1.282 MB / 1.572 GB, free: 10.15 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007159/1.199, allocations: 2.66 MB / 1.575 GB, free: 7.484 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003093/1.202, allocations: 1.444 MB / 1.576 GB, free: 6.035 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0007924/1.203, allocations: 212 kB / 1.577 GB, free: 5.828 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01065/1.214, allocations: 4.786 MB / 1.581 GB, free: 1.035 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001123/1.215, allocations: 0.6813 MB / 1.582 GB, free: 360 kB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002485/1.217, allocations: 1.209 MB / 1.583 GB, free: 15.13 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01148/1.229, allocations: 5.768 MB / 1.589 GB, free: 9.352 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.229, allocations: 0 / 1.589 GB, free: 9.352 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.014e-06/1.229, allocations: 4 kB / 1.589 GB, free: 9.348 MB / 1.264 GB Notification: Performance of Transformations before backend: time 9.628e-05/1.229, allocations: 0 / 1.589 GB, free: 9.348 MB / 1.264 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.007311/1.236, allocations: 2.916 MB / 1.592 GB, free: 6.355 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/1.236, allocations: 12.03 kB / 1.592 GB, free: 6.344 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.976e-05/1.236, allocations: 26.09 kB / 1.592 GB, free: 6.316 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003411/1.237, allocations: 168.5 kB / 1.592 GB, free: 6.141 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004909/1.241, allocations: 0.6619 MB / 1.592 GB, free: 5.477 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006014/1.247, allocations: 2.881 MB / 1.595 GB, free: 2.547 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/1.248, allocations: 82.09 kB / 1.595 GB, free: 2.465 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003572/1.248, allocations: 112 kB / 1.595 GB, free: 2.355 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003386/1.251, allocations: 1.339 MB / 1.597 GB, free: 0.9297 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/1.251, allocations: 0 / 1.597 GB, free: 0.9297 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/1.251, allocations: 47.94 kB / 1.597 GB, free: 0.8828 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/1.252, allocations: 27.98 kB / 1.597 GB, free: 0.8555 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003124/1.255, allocations: 1.124 MB / 1.598 GB, free: 15.73 MB / 1.279 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.01081/1.265, allocations: 6.782 MB / 1.604 GB, free: 8.578 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/1.268, allocations: 0.7784 MB / 1.605 GB, free: 7.777 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008992/1.269, allocations: 370 kB / 1.606 GB, free: 7.41 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007713/1.276, allocations: 2.837 MB / 1.608 GB, free: 4.328 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/1.278, allocations: 0.4937 MB / 1.609 GB, free: 3.812 MB / 1.279 GB Notification: Performance of pre-optimization done (n=67): time 3.166e-06/1.278, allocations: 0 / 1.609 GB, free: 3.812 MB / 1.279 GB Notification: Performance of matching and sorting (n=81): time 0.05683/1.335, allocations: 18.86 MB / 1.627 GB, free: 0.8633 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.335, allocations: 174.9 kB / 1.627 GB, free: 0.6562 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003545/1.338, allocations: 2.016 MB / 1.629 GB, free: 14.59 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001852/1.338, allocations: 41.7 kB / 1.629 GB, free: 14.55 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009771/1.339, allocations: 0.8824 MB / 1.63 GB, free: 13.66 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/1.34, allocations: 305.4 kB / 1.631 GB, free: 13.36 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006268/1.34, allocations: 335.4 kB / 1.631 GB, free: 13.03 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.34, allocations: 305.1 kB / 1.631 GB, free: 12.73 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/1.342, allocations: 0.652 MB / 1.632 GB, free: 12.07 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/1.344, allocations: 1.058 MB / 1.633 GB, free: 10.85 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003015/1.347, allocations: 1.621 MB / 1.634 GB, free: 9.09 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/1.347, allocations: 7.984 kB / 1.634 GB, free: 9.082 MB / 1.311 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005076/1.352, allocations: 2.11 MB / 1.637 GB, free: 6.957 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/1.352, allocations: 15.94 kB / 1.637 GB, free: 6.941 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/1.352, allocations: 8 kB / 1.637 GB, free: 6.934 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008076/1.353, allocations: 218 kB / 1.637 GB, free: 6.715 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/1.354, allocations: 307.5 kB / 1.637 GB, free: 6.414 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005275/1.359, allocations: 4.16 MB / 1.641 GB, free: 1.984 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/1.361, allocations: 116 kB / 1.641 GB, free: 1.871 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/1.361, allocations: 59.98 kB / 1.641 GB, free: 1.812 MB / 1.311 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.001072/1.362, allocations: 0.5658 MB / 1.642 GB, free: 1.238 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007399/1.363, allocations: 198.7 kB / 1.642 GB, free: 1.043 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/1.367, allocations: 1.485 MB / 1.643 GB, free: 15.55 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/1.367, allocations: 8 kB / 1.643 GB, free: 15.54 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.367, allocations: 4 kB / 1.643 GB, free: 15.54 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002894/1.37, allocations: 1.258 MB / 1.645 GB, free: 14.2 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02683/1.397, allocations: 9.289 MB / 1.654 GB, free: 4.562 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/1.397, allocations: 4.094 kB / 1.654 GB, free: 4.559 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000885/1.398, allocations: 187.7 kB / 1.654 GB, free: 4.375 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006278/1.399, allocations: 156.7 kB / 1.654 GB, free: 4.219 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/1.399, allocations: 27.98 kB / 1.654 GB, free: 4.191 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003839/1.403, allocations: 2.382 MB / 1.656 GB, free: 1.672 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-05/1.403, allocations: 4 kB / 1.656 GB, free: 1.668 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005641/1.408, allocations: 1.908 MB / 1.658 GB, free: 15.67 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/1.41, allocations: 411.7 kB / 1.659 GB, free: 15.25 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007483/1.41, allocations: 28 kB / 1.659 GB, free: 15.22 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.412, allocations: 89.66 kB / 1.659 GB, free: 15.14 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/1.412, allocations: 76.36 kB / 1.659 GB, free: 15.06 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.412, allocations: 35.98 kB / 1.659 GB, free: 15.03 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.003124/1.416, allocations: 1.402 MB / 1.66 GB, free: 13.61 MB / 1.342 GB Notification: Performance of sort global known variables: time 3.11e-07/1.416, allocations: 0 / 1.66 GB, free: 13.61 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.005194/1.421, allocations: 1.389 MB / 1.662 GB, free: 12.21 MB / 1.342 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.01333/1.434, allocations: 3.68 MB / 1.665 GB, free: 8.602 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.004352/1.438, allocations: 1.572 MB / 1.667 GB, free: 7.008 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.438, allocations: 0 / 1.667 GB, free: 7.008 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/1.44, allocations: 0.6278 MB / 1.667 GB, free: 6.363 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004818/1.445, allocations: 0.9474 MB / 1.668 GB, free: 5.445 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03488/1.48, allocations: 15.85 MB / 1.684 GB, free: 4.93 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/1.481, allocations: 1.483 MB / 1.685 GB, free: 3.414 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.001724/1.483, allocations: 394.2 kB / 1.686 GB, free: 3.027 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/1.485, allocations: 0.8078 MB / 1.686 GB, free: 2.223 MB / 1.357 GB Notification: Performance of SimCode: time 1.482e-06/1.485, allocations: 4 kB / 1.686 GB, free: 2.219 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1548/1.639, allocations: 87.74 MB / 1.772 GB, free: 11.22 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.38/19.02, allocations: 4.062 kB / 1.772 GB, free: 11.22 MB / 1.451 GB " [Timeout remaining time 281] (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 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 25.56896347401198] Failed to read output from testmodel.py, exit status != 0: 19.270601085037924 19.294533388 18.060869793 Calling exit ...