Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00175/0.00175, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.0022/0.0022, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.564/1.564, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.871/2.871, allocations: 0.49 GB / 0.7923 GB, free: 1.348 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_12_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.00214/0.00214, allocations: 63.91 kB / 1.149 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9109/0.9131, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2198/1.133, allocations: 193.6 MB / 1.511 GB, free: 7.719 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03646/1.169, allocations: 26.27 MB / 1.536 GB, free: 13.38 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/1.172, allocations: 83.38 kB / 1.536 GB, free: 13.3 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.005726/1.178, allocations: 2.02 MB / 1.538 GB, free: 11.27 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01461/1.192, allocations: 4.501 MB / 1.543 GB, free: 6.754 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006314/1.199, allocations: 2.52 MB / 1.545 GB, free: 4.238 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0113/1.21, allocations: 7.481 MB / 1.552 GB, free: 12.74 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002918/1.213, allocations: 1.289 MB / 1.554 GB, free: 11.42 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007577/1.221, allocations: 2.661 MB / 1.556 GB, free: 8.75 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/1.224, allocations: 1.452 MB / 1.558 GB, free: 7.293 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0008294/1.225, allocations: 208 kB / 1.558 GB, free: 7.09 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01193/1.237, allocations: 4.79 MB / 1.563 GB, free: 2.293 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001463/1.238, allocations: 0.6774 MB / 1.563 GB, free: 1.613 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.003011/1.241, allocations: 1.217 MB / 1.564 GB, free: 400 kB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01284/1.254, allocations: 5.76 MB / 1.57 GB, free: 10.61 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/1.254, allocations: 4 kB / 1.57 GB, free: 10.61 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.785e-06/1.254, allocations: 0 / 1.57 GB, free: 10.61 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001029/1.254, allocations: 0 / 1.57 GB, free: 10.61 MB / 1.248 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.00809/1.262, allocations: 2.912 MB / 1.573 GB, free: 7.621 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/1.262, allocations: 12.03 kB / 1.573 GB, free: 7.609 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.842e-05/1.262, allocations: 30.09 kB / 1.573 GB, free: 7.578 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002956/1.263, allocations: 164.6 kB / 1.573 GB, free: 7.406 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004989/1.267, allocations: 0.6581 MB / 1.574 GB, free: 6.746 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006533/1.274, allocations: 2.881 MB / 1.577 GB, free: 3.816 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/1.274, allocations: 78.09 kB / 1.577 GB, free: 3.738 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003645/1.275, allocations: 116 kB / 1.577 GB, free: 3.625 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003362/1.278, allocations: 1.341 MB / 1.578 GB, free: 2.199 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/1.278, allocations: 4 kB / 1.578 GB, free: 2.195 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/1.278, allocations: 51.94 kB / 1.578 GB, free: 2.145 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/1.278, allocations: 28 kB / 1.578 GB, free: 2.117 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002932/1.281, allocations: 1.116 MB / 1.579 GB, free: 1.004 MB / 1.248 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.01074/1.292, allocations: 6.779 MB / 1.586 GB, free: 9.848 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/1.294, allocations: 0.777 MB / 1.587 GB, free: 9.047 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008799/1.295, allocations: 356.1 kB / 1.587 GB, free: 8.691 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007733/1.303, allocations: 2.837 MB / 1.59 GB, free: 5.609 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/1.304, allocations: 0.4937 MB / 1.59 GB, free: 5.094 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 3.276e-06/1.304, allocations: 7.875 kB / 1.59 GB, free: 5.086 MB / 1.264 GB Notification: Performance of matching and sorting (n=81): time 0.0542/1.358, allocations: 18.86 MB / 1.609 GB, free: 2.137 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.358, allocations: 166.8 kB / 1.609 GB, free: 1.934 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003094/1.361, allocations: 2.016 MB / 1.611 GB, free: 15.88 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/1.361, allocations: 45.7 kB / 1.611 GB, free: 15.82 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008224/1.362, allocations: 0.8746 MB / 1.612 GB, free: 14.94 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003316/1.363, allocations: 317.5 kB / 1.612 GB, free: 14.63 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005048/1.363, allocations: 331.4 kB / 1.612 GB, free: 14.3 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.363, allocations: 301.1 kB / 1.613 GB, free: 14 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/1.365, allocations: 0.652 MB / 1.613 GB, free: 13.35 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/1.366, allocations: 1.058 MB / 1.614 GB, free: 12.14 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003028/1.369, allocations: 1.625 MB / 1.616 GB, free: 10.37 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/1.369, allocations: 4 kB / 1.616 GB, free: 10.37 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005287/1.375, allocations: 2.102 MB / 1.618 GB, free: 8.25 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/1.375, allocations: 16.41 kB / 1.618 GB, free: 8.234 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/1.375, allocations: 12 kB / 1.618 GB, free: 8.223 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008234/1.376, allocations: 221.5 kB / 1.618 GB, free: 8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.377, allocations: 303.5 kB / 1.618 GB, free: 7.703 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005514/1.382, allocations: 4.167 MB / 1.622 GB, free: 3.262 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/1.385, allocations: 111.9 kB / 1.623 GB, free: 3.152 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/1.385, allocations: 67.97 kB / 1.623 GB, free: 3.086 MB / 1.295 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.001233/1.386, allocations: 0.5598 MB / 1.623 GB, free: 2.516 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008208/1.387, allocations: 198.7 kB / 1.623 GB, free: 2.32 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/1.391, allocations: 1.488 MB / 1.625 GB, free: 0.8164 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/1.391, allocations: 8 kB / 1.625 GB, free: 0.8086 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.391, allocations: 4 kB / 1.625 GB, free: 0.8047 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002914/1.394, allocations: 1.258 MB / 1.626 GB, free: 15.47 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02646/1.42, allocations: 9.292 MB / 1.635 GB, free: 5.832 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.42, allocations: 15.92 kB / 1.635 GB, free: 5.816 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008504/1.421, allocations: 180 kB / 1.635 GB, free: 5.641 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005832/1.422, allocations: 152.8 kB / 1.635 GB, free: 5.488 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.053e-05/1.422, allocations: 39.91 kB / 1.635 GB, free: 5.449 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003401/1.425, allocations: 2.374 MB / 1.638 GB, free: 2.938 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.425, allocations: 8.062 kB / 1.638 GB, free: 2.93 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004643/1.43, allocations: 1.912 MB / 1.64 GB, free: 0.9258 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009171/1.431, allocations: 411.7 kB / 1.64 GB, free: 0.5039 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/1.431, allocations: 23.98 kB / 1.64 GB, free: 492 kB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/1.432, allocations: 83.92 kB / 1.64 GB, free: 408 kB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.432, allocations: 76.36 kB / 1.64 GB, free: 332 kB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/1.433, allocations: 35.98 kB / 1.64 GB, free: 296 kB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002417/1.435, allocations: 1.406 MB / 1.642 GB, free: 14.86 MB / 1.326 GB Notification: Performance of sort global known variables: time 1.1e-07/1.435, allocations: 0 / 1.642 GB, free: 14.86 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.00498/1.44, allocations: 1.389 MB / 1.643 GB, free: 13.47 MB / 1.326 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.01236/1.452, allocations: 3.661 MB / 1.647 GB, free: 9.879 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004324/1.457, allocations: 1.568 MB / 1.648 GB, free: 8.285 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.457, allocations: 128 / 1.648 GB, free: 8.285 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/1.458, allocations: 0.6277 MB / 1.649 GB, free: 7.645 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004892/1.463, allocations: 0.9775 MB / 1.65 GB, free: 6.703 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0329/1.496, allocations: 15.85 MB / 1.665 GB, free: 6.191 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/1.498, allocations: 1.483 MB / 1.667 GB, free: 4.68 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.001764/1.499, allocations: 398.9 kB / 1.667 GB, free: 4.289 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/1.501, allocations: 0.7961 MB / 1.668 GB, free: 3.492 MB / 1.342 GB Notification: Performance of SimCode: time 8.52e-07/1.501, allocations: 0 / 1.668 GB, free: 3.492 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1582/1.659, allocations: 87.74 MB / 1.753 GB, free: 12.45 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.71/18.37, allocations: 18.33 kB / 1.753 GB, free: 12.44 MB / 1.436 GB " [Timeout remaining time 281] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS_fmu --startTime=1.728e+06 --stopTime=1.8144e+06 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 24.94141483900603] Failed to read output from testmodel.py, exit status != 0: 18.627195135049988 18.650022546 17.391451149 Calling exit ...