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.000827/0.000827, allocations: 72.52 kB / 19.95 MB, free: 4.613 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.0007901/0.0007901, allocations: 169.2 kB / 23.23 MB, free: 1.332 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.8816/0.8816, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.06262/0.06262, allocations: 18.12 MB / 278.1 MB, free: 11.54 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.633e-06/1.633e-06, allocations: 0 / 415.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.237e-05, allocations: 3.656 kB / 415.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.002598/0.00262, allocations: 1.804 MB / 417.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.003843, allocations: 0.6055 MB / 418.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.003981, allocations: 6.688 kB / 418.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.004281, allocations: 23.31 kB / 418.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.004447, allocations: 51.17 kB / 418.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.004789, allocations: 127.1 kB / 418.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.005026, allocations: 175.1 kB / 418.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.005159, allocations: 45.56 kB / 418.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.005266, allocations: 70.48 kB / 418.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.005406, allocations: 78.84 kB / 418.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.005447, allocations: 16.28 kB / 418.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.424e-05/0.005471, allocations: 19.16 kB / 418.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.683e-05/0.005548, allocations: 55.58 kB / 418.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.005598, allocations: 48.77 kB / 419 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.005815, allocations: 192.2 kB / 419.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.005819, allocations: 0 / 419.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.005821, allocations: 1.062 kB / 419.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.005827, allocations: 0.7031 kB / 419.2 MB, free: 10.34 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.0007706/0.006598, allocations: 456 kB / 419.6 MB, free: 9.996 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.006642, allocations: 10.7 kB / 419.6 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.006677, allocations: 49.72 kB / 419.7 MB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.006725, allocations: 18.14 kB / 419.7 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.007032, allocations: 216.5 kB / 419.9 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.007046, allocations: 9.953 kB / 419.9 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.007074, allocations: 16.27 kB / 419.9 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.007317, allocations: 192.6 kB / 420.1 MB, free: 9.633 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.007328, allocations: 1.281 kB / 420.1 MB, free: 9.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.007344, allocations: 13.91 kB / 420.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.00735, allocations: 2.219 kB / 420.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.007532, allocations: 126.1 kB / 420.2 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006403/0.008172, allocations: 471.1 kB / 420.7 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/0.00875, allocations: 182.8 kB / 420.9 MB, free: 9.191 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.008856, allocations: 65.45 kB / 421 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.008881, allocations: 1.828 kB / 421 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.008897, allocations: 40.59 kB / 421 MB, free: 9.117 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.008899, allocations: 0 / 421 MB, free: 9.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.001008/0.009907, allocations: 467 kB / 421.4 MB, free: 8.988 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.009939, allocations: 79.88 kB / 421.5 MB, free: 8.895 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.01016, allocations: 225.8 kB / 421.7 MB, free: 8.754 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.01018, allocations: 26.92 kB / 421.8 MB, free: 8.723 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.01024, allocations: 129.9 kB / 421.9 MB, free: 8.605 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.01027, allocations: 45.17 kB / 421.9 MB, free: 8.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.01032, allocations: 33.31 kB / 422 MB, free: 8.547 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.968e-05/0.01035, allocations: 330.8 kB / 422.3 MB, free: 8.223 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.472e-05/0.01045, allocations: 67.69 kB / 422.4 MB, free: 8.195 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.01056, allocations: 116.4 kB / 422.5 MB, free: 8.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.01074, allocations: 150.2 kB / 422.6 MB, free: 8.051 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01074, allocations: 0 / 422.6 MB, free: 8.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002244/0.01096, allocations: 190.1 kB / 422.8 MB, free: 7.965 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.01098, allocations: 5.641 kB / 422.8 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01099, allocations: 0 / 422.8 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.011, allocations: 1.156 kB / 422.8 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.01115, allocations: 49.62 kB / 422.9 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01115, allocations: 1.031 kB / 422.9 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.823e-05/0.01125, allocations: 31.5 kB / 422.9 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.01126, allocations: 3.812 kB / 422.9 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001016/0.01136, allocations: 146 kB / 423 MB, free: 7.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.755e-05/0.01144, allocations: 106.9 kB / 423.1 MB, free: 7.762 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001214/0.01156, allocations: 125 kB / 423.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.71e-07/0.01156, allocations: 1.562 kB / 423.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0001702/0.01173, allocations: 161.4 kB / 423.4 MB, free: 7.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.01174, allocations: 5.891 kB / 423.4 MB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.81e-07/0.01174, allocations: 4.062 kB / 423.4 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-06/0.01174, allocations: 2.25 kB / 423.4 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.01186, allocations: 39.53 kB / 423.5 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-06/0.01186, allocations: 1.859 kB / 423.5 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.01193, allocations: 28.5 kB / 423.5 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.01194, allocations: 8.344 kB / 423.5 MB, free: 7.598 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 4.618e-05/0.01199, allocations: 187.8 kB / 423.7 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.01201, allocations: 14.88 kB / 423.7 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.01243, allocations: 284.7 kB / 424 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01243, allocations: 6.5 kB / 424 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01244, allocations: 4 kB / 424 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01244, allocations: 5.109 kB / 424 MB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.01262, allocations: 217 kB / 424.2 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01262, allocations: 1.219 kB / 424.2 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.428e-05/0.01268, allocations: 15.56 kB / 424.2 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002429/0.01292, allocations: 85.28 kB / 424.3 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.01293, allocations: 9.781 kB / 424.3 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.01408, allocations: 1.714 MB / 426 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01409, allocations: 0.8906 kB / 426 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.01455, allocations: 429.6 kB / 426.5 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.01457, allocations: 26.97 kB / 426.5 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.01459, allocations: 10.98 kB / 426.5 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.0147, allocations: 23.02 kB / 426.5 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.01475, allocations: 15.03 kB / 426.5 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.01475, allocations: 6.594 kB / 426.5 MB, free: 5.355 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.0149, allocations: 166 kB / 426.7 MB, free: 5.262 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0149, allocations: 0 / 426.7 MB, free: 5.262 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.01515, allocations: 54.89 kB / 426.8 MB, free: 5.25 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.0005955/0.01575, allocations: 0.9668 MB / 427.7 MB, free: 4.488 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.01604, allocations: 211.1 kB / 427.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01604, allocations: 0 / 427.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.01626, allocations: 212.8 kB / 428.1 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.01649, allocations: 31.73 kB / 428.2 MB, free: 4.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.01829, allocations: 2.198 MB / 430.4 MB, free: 2.727 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.965e-05/0.01838, allocations: 121.9 kB / 430.5 MB, free: 2.652 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.603e-05/0.01847, allocations: 33.64 kB / 430.5 MB, free: 2.652 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.01854, allocations: 56.61 kB / 430.6 MB, free: 2.605 MB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01854, allocations: 0 / 430.6 MB, free: 2.605 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.0357, allocations: 5.161 MB / 435.7 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/7.869, allocations: 6.156 kB / 435.7 MB, free: 0.8359 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_control_problems_Keep_limits_and_overrides_Keep_below_limit_fmu --startTime=0 --stopTime=150 --stepSize=0.3 --timeout=50 --tolerance=1e-06 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.770588929764926] Failed to read output from testmodel.py, exit status != 0: 7.957181267440319 7.968071489 7.960480448 Calling exit ...