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.001203/0.001203, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.00148/0.00148, allocations: 214.8 kB / 23.02 MB, free: 2.973 MB / 13.93 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.9829/0.9829, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.939/1.939, allocations: 0.5045 GB / 0.8104 GB, free: 2.711 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.00148/0.00148, allocations: 70.73 kB / 1.177 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3233, allocations: 180 MB / 1.352 GB, free: 9.18 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1413/0.4646, allocations: 169.1 MB / 1.518 GB, free: 15.47 MB / 1.214 GB Notification: Performance of NFInst.instExpressions: time 0.02408/0.4887, allocations: 24.13 MB / 1.541 GB, free: 7.285 MB / 1.229 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00269/0.4914, allocations: 79.38 kB / 1.541 GB, free: 7.207 MB / 1.229 GB Notification: Performance of NFTyping.typeComponents: time 0.005358/0.4967, allocations: 1.997 MB / 1.543 GB, free: 5.203 MB / 1.229 GB Notification: Performance of NFTyping.typeBindings: time 0.009356/0.5061, allocations: 4.552 MB / 1.548 GB, free: 0.6367 MB / 1.229 GB Notification: Performance of NFTyping.typeClassSections: time 0.004721/0.5108, allocations: 2.524 MB / 1.55 GB, free: 14.12 MB / 1.245 GB Notification: Performance of NFFlatten.flatten: time 0.008317/0.5191, allocations: 7.617 MB / 1.557 GB, free: 6.469 MB / 1.245 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.521, allocations: 1.209 MB / 1.559 GB, free: 5.227 MB / 1.245 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005423/0.5264, allocations: 3.029 MB / 1.562 GB, free: 2.191 MB / 1.245 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.5287, allocations: 1.377 MB / 1.563 GB, free: 0.8086 MB / 1.245 GB Notification: Performance of NFPackage.collectConstants: time 0.0003416/0.529, allocations: 192 kB / 1.563 GB, free: 0.6211 MB / 1.245 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006595/0.5356, allocations: 4.248 MB / 1.567 GB, free: 12.37 MB / 1.26 GB Notification: Performance of NFScalarize.scalarize: time 0.0007769/0.5364, allocations: 0.6579 MB / 1.568 GB, free: 11.71 MB / 1.26 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.5375, allocations: 0.9215 MB / 1.569 GB, free: 10.78 MB / 1.26 GB Notification: Performance of NFConvertDAE.convert: time 0.008612/0.5461, allocations: 5.596 MB / 1.574 GB, free: 5.168 MB / 1.26 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5461, allocations: 3.938 kB / 1.574 GB, free: 5.164 MB / 1.26 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5461, allocations: 0 / 1.574 GB, free: 5.164 MB / 1.26 GB Notification: Performance of Transformations before backend: time 4.196e-05/0.5462, allocations: 4 kB / 1.574 GB, free: 5.16 MB / 1.26 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.004495/0.5507, allocations: 2.787 MB / 1.577 GB, free: 2.316 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.5507, allocations: 12.86 kB / 1.577 GB, free: 2.305 MB / 1.26 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.5509, allocations: 164.6 kB / 1.577 GB, free: 2.133 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.5533, allocations: 0.6541 MB / 1.578 GB, free: 1.477 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00428/0.5575, allocations: 2.715 MB / 1.581 GB, free: 14.72 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.129e-05/0.5576, allocations: 86.09 kB / 1.581 GB, free: 14.63 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.5577, allocations: 112 kB / 1.581 GB, free: 14.52 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.5601, allocations: 1.569 MB / 1.582 GB, free: 12.81 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.5602, allocations: 0 / 1.582 GB, free: 12.81 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.5602, allocations: 51.94 kB / 1.582 GB, free: 12.76 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.5603, allocations: 28 kB / 1.582 GB, free: 12.73 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.5619, allocations: 1.12 MB / 1.583 GB, free: 11.61 MB / 1.276 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.006735/0.5687, allocations: 5.393 MB / 1.589 GB, free: 6.047 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.5698, allocations: 0.7728 MB / 1.589 GB, free: 5.246 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004553/0.5703, allocations: 368.3 kB / 1.59 GB, free: 4.879 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003442/0.5737, allocations: 1.862 MB / 1.592 GB, free: 3.016 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008072/0.5745, allocations: 0.6748 MB / 1.592 GB, free: 2.27 MB / 1.276 GB Notification: Performance of pre-optimization done (n=67): time 2.444e-06/0.5745, allocations: 0 / 1.592 GB, free: 2.27 MB / 1.276 GB Notification: Performance of matching and sorting (n=81): time 0.02879/0.6033, allocations: 18.71 MB / 1.611 GB, free: 15.52 MB / 1.307 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/0.6034, allocations: 174.9 kB / 1.611 GB, free: 15.3 MB / 1.307 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/0.6058, allocations: 2.02 MB / 1.613 GB, free: 13.24 MB / 1.307 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.6059, allocations: 45.7 kB / 1.613 GB, free: 13.19 MB / 1.307 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006922/0.6066, allocations: 0.8746 MB / 1.614 GB, free: 12.31 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/0.6069, allocations: 309.4 kB / 1.614 GB, free: 12.01 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004158/0.6073, allocations: 331.4 kB / 1.614 GB, free: 11.68 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.6074, allocations: 309.2 kB / 1.614 GB, free: 11.38 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009253/0.6084, allocations: 0.6442 MB / 1.615 GB, free: 10.73 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.6097, allocations: 1.237 MB / 1.616 GB, free: 9.297 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.6115, allocations: 1.614 MB / 1.618 GB, free: 7.539 MB / 1.307 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.527e-06/0.6115, allocations: 4 kB / 1.618 GB, free: 7.535 MB / 1.307 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.003012/0.6145, allocations: 2.104 MB / 1.62 GB, free: 5.414 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.6145, allocations: 8 kB / 1.62 GB, free: 5.406 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.6145, allocations: 16.41 kB / 1.62 GB, free: 5.391 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004667/0.615, allocations: 225.5 kB / 1.62 GB, free: 5.164 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/0.6156, allocations: 307.5 kB / 1.62 GB, free: 4.863 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/0.6189, allocations: 3.925 MB / 1.624 GB, free: 0.7109 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.6202, allocations: 111.9 kB / 1.624 GB, free: 0.6016 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.6203, allocations: 63.98 kB / 1.624 GB, free: 0.5391 MB / 1.307 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.0008681/0.6212, allocations: 0.5521 MB / 1.625 GB, free: 15.97 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004731/0.6217, allocations: 198.7 kB / 1.625 GB, free: 15.78 MB / 1.323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.6239, allocations: 1.501 MB / 1.627 GB, free: 14.27 MB / 1.323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6239, allocations: 8 kB / 1.627 GB, free: 14.26 MB / 1.323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6239, allocations: 4 kB / 1.627 GB, free: 14.25 MB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001464/0.6253, allocations: 1.273 MB / 1.628 GB, free: 12.91 MB / 1.323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.6385, allocations: 8.169 MB / 1.636 GB, free: 4.605 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.6385, allocations: 8 kB / 1.636 GB, free: 4.598 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.6389, allocations: 179.7 kB / 1.636 GB, free: 4.422 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003274/0.6393, allocations: 156.8 kB / 1.636 GB, free: 4.266 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.6393, allocations: 27.98 kB / 1.636 GB, free: 4.238 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/0.6413, allocations: 2.25 MB / 1.638 GB, free: 1.879 MB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6413, allocations: 11.94 kB / 1.638 GB, free: 1.867 MB / 1.323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/0.644, allocations: 1.913 MB / 1.64 GB, free: 15.86 MB / 1.339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007009/0.6447, allocations: 334.5 kB / 1.641 GB, free: 15.54 MB / 1.339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.6449, allocations: 27.98 kB / 1.641 GB, free: 15.51 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006311/0.6456, allocations: 83.92 kB / 1.641 GB, free: 15.43 MB / 1.339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.6457, allocations: 80.41 kB / 1.641 GB, free: 15.35 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.6458, allocations: 35.98 kB / 1.641 GB, free: 15.31 MB / 1.339 GB Notification: Performance of sorting global known variables: time 0.001673/0.6474, allocations: 1.394 MB / 1.642 GB, free: 13.9 MB / 1.339 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6474, allocations: 4 kB / 1.642 GB, free: 13.89 MB / 1.339 GB Notification: Performance of remove unused functions: time 0.004264/0.6517, allocations: 1.385 MB / 1.644 GB, free: 12.51 MB / 1.339 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.01001/0.6617, allocations: 3.707 MB / 1.647 GB, free: 8.887 MB / 1.339 GB Notification: Performance of simCode: created initialization part: time 0.002746/0.6644, allocations: 1.571 MB / 1.649 GB, free: 7.289 MB / 1.339 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.6645, allocations: 0 / 1.649 GB, free: 7.289 MB / 1.339 GB Notification: Performance of simCode: created simulation system equations: time 0.0009221/0.6654, allocations: 0.6221 MB / 1.649 GB, free: 6.652 MB / 1.339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.6681, allocations: 0.9505 MB / 1.65 GB, free: 5.734 MB / 1.339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02207/0.6902, allocations: 15.8 MB / 1.666 GB, free: 5.285 MB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/0.6909, allocations: 0.8941 MB / 1.667 GB, free: 4.355 MB / 1.354 GB Notification: Performance of simCode: alias equations: time 0.001372/0.6923, allocations: 389.1 kB / 1.667 GB, free: 3.973 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009101/0.6932, allocations: 0.8078 MB / 1.668 GB, free: 3.164 MB / 1.354 GB Notification: Performance of SimCode: time 1.273e-06/0.6932, allocations: 0 / 1.668 GB, free: 3.164 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7887/1.482, allocations: 91.51 MB / 1.757 GB, free: 250.5 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.859/11.34, allocations: 0 / 1.757 GB, free: 250.5 MB / 1.354 GB " [Timeout remaining time 288] (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: 22.452576072886586]