Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.000848/0.000848, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0009434/0.0009434, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.8938/0.8938, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.803/1.803, allocations: 389.6 MB / 0.6343 GB, free: 12.55 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_13_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.053e-05, allocations: 6.078 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.621/0.621, allocations: 168.8 MB / 1.165 GB, free: 9.457 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.02775/0.6488, allocations: 24.08 MB / 1.189 GB, free: 9.641 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003094/0.6519, allocations: 79.66 kB / 1.189 GB, free: 9.602 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.00569/0.6576, allocations: 2.017 MB / 1.191 GB, free: 8.715 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.6695, allocations: 4.653 MB / 1.196 GB, free: 6.262 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006034/0.6756, allocations: 2.597 MB / 1.198 GB, free: 5.109 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.01013/0.6857, allocations: 8.517 MB / 1.206 GB, free: 0.6953 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.6881, allocations: 1.213 MB / 1.208 GB, free: 15.77 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01088/0.699, allocations: 3.641 MB / 1.211 GB, free: 13.4 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003715/0.7027, allocations: 1.239 MB / 1.212 GB, free: 12.71 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0006528/0.7033, allocations: 191.5 kB / 1.213 GB, free: 12.71 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009877/0.7132, allocations: 3.946 MB / 1.216 GB, free: 10.75 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.001535/0.7147, allocations: 0.6786 MB / 1.217 GB, free: 10.25 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.002147/0.7169, allocations: 0.7746 MB / 1.218 GB, free: 9.844 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.7278, allocations: 5.828 MB / 1.223 GB, free: 5.879 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.7278, allocations: 0 / 1.223 GB, free: 5.879 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7278, allocations: 0 / 1.223 GB, free: 5.879 MB / 1.057 GB Notification: Performance of Transformations before backend: time 5.118e-05/0.7279, allocations: 0 / 1.223 GB, free: 5.879 MB / 1.057 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.004277/0.7321, allocations: 2.743 MB / 1.226 GB, free: 3.836 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.7322, allocations: 11.16 kB / 1.226 GB, free: 3.836 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.7323, allocations: 163.1 kB / 1.226 GB, free: 3.699 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.7348, allocations: 0.669 MB / 1.227 GB, free: 3.387 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/0.7384, allocations: 3.006 MB / 1.23 GB, free: 0.8203 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.262e-05/0.7384, allocations: 82.09 kB / 1.23 GB, free: 0.7383 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.7385, allocations: 112 kB / 1.23 GB, free: 0.6289 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.7403, allocations: 1.565 MB / 1.232 GB, free: 14.92 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.7403, allocations: 7.984 kB / 1.232 GB, free: 14.91 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.134e-05/0.7404, allocations: 48.81 kB / 1.232 GB, free: 14.87 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.7404, allocations: 24 kB / 1.232 GB, free: 14.84 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.742, allocations: 1.12 MB / 1.233 GB, free: 13.72 MB / 1.073 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.009311/0.7514, allocations: 5.308 MB / 1.238 GB, free: 8.25 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.7532, allocations: 0.7731 MB / 1.239 GB, free: 7.453 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007474/0.7539, allocations: 368 kB / 1.239 GB, free: 7.09 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00548/0.7594, allocations: 1.866 MB / 1.241 GB, free: 5.223 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.7606, allocations: 0.6826 MB / 1.242 GB, free: 4.469 MB / 1.073 GB Notification: Performance of pre-optimization done (n=67): time 3.175e-06/0.7606, allocations: 0 / 1.242 GB, free: 4.469 MB / 1.073 GB Notification: Performance of matching and sorting (n=81): time 0.02934/0.7899, allocations: 18.72 MB / 1.26 GB, free: 1.707 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.707e-05/0.79, allocations: 162.9 kB / 1.26 GB, free: 1.512 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.792, allocations: 1.891 MB / 1.262 GB, free: 15.58 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 9.634e-05/0.7921, allocations: 45.7 kB / 1.262 GB, free: 15.53 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005979/0.7927, allocations: 0.9145 MB / 1.263 GB, free: 14.61 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.793, allocations: 301.5 kB / 1.263 GB, free: 14.31 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.7932, allocations: 218.8 kB / 1.263 GB, free: 14.09 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.7933, allocations: 349.9 kB / 1.264 GB, free: 13.74 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006292/0.7939, allocations: 446.4 kB / 1.264 GB, free: 13.3 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008699/0.7948, allocations: 0.983 MB / 1.265 GB, free: 12.13 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.7962, allocations: 1.248 MB / 1.266 GB, free: 10.73 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.7962, allocations: 4 kB / 1.266 GB, free: 10.73 MB / 1.104 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002488/0.7987, allocations: 1.599 MB / 1.268 GB, free: 9.121 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.7987, allocations: 12.06 kB / 1.268 GB, free: 9.109 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.7987, allocations: 15.98 kB / 1.268 GB, free: 9.094 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004588/0.7992, allocations: 218.8 kB / 1.268 GB, free: 8.875 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.7997, allocations: 252.1 kB / 1.268 GB, free: 8.629 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.8028, allocations: 3.913 MB / 1.272 GB, free: 4.496 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.804, allocations: 108 kB / 1.272 GB, free: 4.391 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.8041, allocations: 55.98 kB / 1.272 GB, free: 4.336 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (125): * Single equations (assignments): 122 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.000779/0.8049, allocations: 0.5559 MB / 1.273 GB, free: 3.77 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004232/0.8053, allocations: 202.7 kB / 1.273 GB, free: 3.57 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.8075, allocations: 1.502 MB / 1.274 GB, free: 2.066 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.8075, allocations: 12 kB / 1.274 GB, free: 2.055 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8075, allocations: 0 / 1.274 GB, free: 2.055 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001511/0.809, allocations: 1.277 MB / 1.276 GB, free: 0.7031 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.8224, allocations: 8.138 MB / 1.284 GB, free: 8.426 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.8224, allocations: 4.875 kB / 1.284 GB, free: 8.422 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.8228, allocations: 188 kB / 1.284 GB, free: 8.238 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003483/0.8232, allocations: 157.8 kB / 1.284 GB, free: 8.082 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/0.8232, allocations: 31.92 kB / 1.284 GB, free: 8.051 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.8251, allocations: 2.235 MB / 1.286 GB, free: 5.707 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.8251, allocations: 7.938 kB / 1.286 GB, free: 5.699 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/0.8279, allocations: 1.909 MB / 1.288 GB, free: 3.707 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007596/0.8287, allocations: 318.6 kB / 1.288 GB, free: 3.395 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.8289, allocations: 31.89 kB / 1.288 GB, free: 3.363 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006537/0.8296, allocations: 88.09 kB / 1.289 GB, free: 3.277 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.8297, allocations: 76.42 kB / 1.289 GB, free: 3.203 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-05/0.8297, allocations: 47.92 kB / 1.289 GB, free: 3.156 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.00182/0.8315, allocations: 1.347 MB / 1.29 GB, free: 1.789 MB / 1.12 GB Notification: Performance of sort global known variables: time 5.91e-07/0.8315, allocations: 0 / 1.29 GB, free: 1.789 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.004303/0.8358, allocations: 1.28 MB / 1.291 GB, free: 0.5078 MB / 1.12 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 (81): * Single equations (assignments): 78 * 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.008406/0.8443, allocations: 3.579 MB / 1.295 GB, free: 13.01 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002424/0.8467, allocations: 1.325 MB / 1.296 GB, free: 11.66 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.8467, allocations: 0.625 kB / 1.296 GB, free: 11.66 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0009471/0.8476, allocations: 0.6282 MB / 1.297 GB, free: 11.02 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002884/0.8505, allocations: 1.058 MB / 1.298 GB, free: 9.992 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/0.8714, allocations: 14.81 MB / 1.312 GB, free: 10.55 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/0.8721, allocations: 0.9065 MB / 1.313 GB, free: 9.602 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001303/0.8734, allocations: 415.2 kB / 1.313 GB, free: 9.199 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008433/0.8743, allocations: 0.8088 MB / 1.314 GB, free: 8.391 MB / 1.151 GB Notification: Performance of SimCode: time 1.834e-06/0.8743, allocations: 0 / 1.314 GB, free: 8.391 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1765/1.051, allocations: 92.31 MB / 1.404 GB, free: 13.25 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/11.14, allocations: 3.562 kB / 1.404 GB, free: 13.25 MB / 1.245 GB " [Timeout remaining time 289] (rm -f Buildings_13_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_13_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_13_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS_fmu --startTime=1.728e+06 --stopTime=1.8144e+06 --stepSize=34.56 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu) > Buildings_13_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_fmpy.pipe ; mkfifo Buildings_13_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_fmpy_res.csv --start-time 1.728e+06 --stop-time 1.8144e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 ../Buildings_13_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu) > Buildings_13_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.995689772069454]