Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.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.0009559/0.0009559, allocations: 76.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.001012/0.001012, allocations: 165.2 kB / 23.22 MB, free: 1.328 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.9141/0.9141, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06228/0.06228, allocations: 18.13 MB / 278.1 MB, free: 11.56 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Keep_limits_and_overrides_Keep_below_limit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Keep_limits_and_overrides_Keep_below_limit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 415.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.08e-05, allocations: 2.281 kB / 415.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.002146/0.002167, allocations: 1.809 MB / 417.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008492/0.003016, allocations: 0.6019 MB / 418.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.883e-05/0.003115, allocations: 5.312 kB / 418.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.003393, allocations: 23.84 kB / 418.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.003526, allocations: 50.3 kB / 418.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.003837, allocations: 136.7 kB / 418.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.004036, allocations: 178.5 kB / 418.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.004158, allocations: 40.39 kB / 418.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.298e-05/0.004251, allocations: 70.02 kB / 418.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.004379, allocations: 75.08 kB / 418.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.004414, allocations: 21.41 kB / 418.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.245e-05/0.004437, allocations: 16.78 kB / 418.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.954e-05/0.004506, allocations: 54.75 kB / 418.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.841e-05/0.004555, allocations: 50.36 kB / 419 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.00477, allocations: 195.6 kB / 419.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.004773, allocations: 0 / 419.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.004775, allocations: 0 / 419.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.004779, allocations: 1.219 kB / 419.2 MB, free: 10.32 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006892/0.005468, allocations: 456 kB / 419.6 MB, free: 9.973 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.005511, allocations: 10.95 kB / 419.6 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.458e-05/0.005546, allocations: 45.3 kB / 419.7 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.005584, allocations: 18.28 kB / 419.7 MB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.005901, allocations: 213 kB / 419.9 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.005916, allocations: 10.17 kB / 419.9 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.005944, allocations: 16.27 kB / 419.9 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.00618, allocations: 200.7 kB / 420.1 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.006191, allocations: 192 / 420.1 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.006204, allocations: 9.375 kB / 420.1 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.00621, allocations: 3.594 kB / 420.1 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.006383, allocations: 117 kB / 420.2 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/0.006992, allocations: 475.9 kB / 420.7 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.007366, allocations: 181.1 kB / 420.9 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.728e-05/0.007453, allocations: 66.17 kB / 420.9 MB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.007478, allocations: 2.984 kB / 420.9 MB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.007497, allocations: 40.5 kB / 421 MB, free: 9.102 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.803e-06/0.007498, allocations: 0 / 421 MB, free: 9.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009437/0.008442, allocations: 467.9 kB / 421.4 MB, free: 8.973 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.008472, allocations: 80.36 kB / 421.5 MB, free: 8.879 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.008681, allocations: 221.3 kB / 421.7 MB, free: 8.742 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.008695, allocations: 26.73 kB / 421.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.00875, allocations: 130.2 kB / 421.9 MB, free: 8.594 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.008777, allocations: 45.09 kB / 421.9 MB, free: 8.559 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.008821, allocations: 32.11 kB / 422 MB, free: 8.535 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.544e-05/0.008856, allocations: 332.9 kB / 422.3 MB, free: 8.211 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.008945, allocations: 70.17 kB / 422.4 MB, free: 8.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.009045, allocations: 116.9 kB / 422.5 MB, free: 8.102 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.00922, allocations: 149.5 kB / 422.6 MB, free: 8.035 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.009223, allocations: 0 / 422.6 MB, free: 8.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002248/0.009447, allocations: 193.8 kB / 422.8 MB, free: 7.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.009462, allocations: 9.812 kB / 422.8 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.009468, allocations: 1.094 kB / 422.8 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.009481, allocations: 1.094 kB / 422.8 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.00963, allocations: 44.23 kB / 422.9 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.009636, allocations: 3.062 kB / 422.9 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/0.009722, allocations: 23.53 kB / 422.9 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.009733, allocations: 4.453 kB / 422.9 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.162e-05/0.009825, allocations: 144.4 kB / 423 MB, free: 7.828 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.419e-05/0.009899, allocations: 111.7 kB / 423.1 MB, free: 7.746 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001194/0.01002, allocations: 131.4 kB / 423.3 MB, free: 7.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.8e-07/0.01002, allocations: 0 / 423.3 MB, free: 7.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0001742/0.01019, allocations: 166.9 kB / 423.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/0.0102, allocations: 5.844 kB / 423.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-06/0.0102, allocations: 0 / 423.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-06/0.01021, allocations: 5.703 kB / 423.4 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.01032, allocations: 35.72 kB / 423.5 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.01032, allocations: 0.9375 kB / 423.5 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-05/0.0104, allocations: 33.02 kB / 423.5 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.01041, allocations: 4.5 kB / 423.5 MB, free: 7.578 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.885e-05/0.01047, allocations: 192.9 kB / 423.7 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.01049, allocations: 14.06 kB / 423.7 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.01095, allocations: 280.1 kB / 424 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.01095, allocations: 5.5 kB / 424 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01096, allocations: 1.031 kB / 424 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01096, allocations: 1.078 kB / 424 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.01116, allocations: 218.6 kB / 424.2 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01116, allocations: 0 / 424.2 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.214e-05/0.01122, allocations: 16.28 kB / 424.2 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/0.01149, allocations: 88.17 kB / 424.3 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.01151, allocations: 10.53 kB / 424.3 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.01267, allocations: 1.71 MB / 426 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01267, allocations: 0 / 426 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.01314, allocations: 434.1 kB / 426.5 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.01316, allocations: 26.48 kB / 426.5 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.01318, allocations: 7.688 kB / 426.5 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.01328, allocations: 18.95 kB / 426.5 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.01333, allocations: 19.12 kB / 426.5 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.01334, allocations: 2.656 kB / 426.5 MB, free: 5.348 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000157/0.01349, allocations: 171.1 kB / 426.7 MB, free: 5.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01349, allocations: 3.938 kB / 426.7 MB, free: 5.246 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002896/0.01378, allocations: 53.83 kB / 426.8 MB, free: 5.234 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (C.FO.y,P.x_scaled[1],P.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006502/0.01443, allocations: 0.9694 MB / 427.7 MB, free: 4.469 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003101/0.01474, allocations: 205 kB / 427.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01475, allocations: 1.188 kB / 427.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.01498, allocations: 212.5 kB / 428.1 MB, free: 4.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.01523, allocations: 30.52 kB / 428.2 MB, free: 4.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.01716, allocations: 2.194 MB / 430.4 MB, free: 2.715 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.058e-05/0.01725, allocations: 122.9 kB / 430.5 MB, free: 2.641 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.259e-05/0.01734, allocations: 39.75 kB / 430.5 MB, free: 2.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.352e-05/0.01741, allocations: 57.05 kB / 430.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01741, allocations: 0 / 430.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.03888, allocations: 5.159 MB / 435.7 MB, free: 0.832 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/7.692, allocations: 6.625 kB / 435.7 MB, free: 0.8281 MB / 330.7 MB " [Timeout remaining time 652] (rm -f AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit_res.csv --start-time 0 --stop-time 150 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.3 AES_AES_Coursework_ThermSys_control_problems_Keep_limits_and_overrides_Keep_below_limit.fmu > AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.746597551740706] Failed to read output from testmodel.py, exit status != 0: 7.782457907684147 7.791601541 7.785093366 Calling exit ...