Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.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.001898/0.001898, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.002306/0.002306, allocations: 206 kB / 23.01 MB, free: 4.621 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.1618/0.1618, allocations: 24.04 MB / 337.2 MB, free: 11.34 MB / 270.1 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_component_models.HeatPump_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.HeatPump_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES 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.003216/0.003216, allocations: 65.78 kB / 473.8 MB, free: 6.395 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3378, allocations: 59.58 MB / 0.5209 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003459/0.3413, allocations: 1.673 MB / 0.5225 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003176/0.3416, allocations: 56.02 kB / 0.5226 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.3417, allocations: 1.344 kB / 0.5226 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.908e-05/0.3417, allocations: 11.62 kB / 0.5226 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.3419, allocations: 25.28 kB / 0.5226 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.303e-05/0.342, allocations: 20.02 kB / 0.5227 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.3421, allocations: 80.62 kB / 0.5227 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.3423, allocations: 24.81 kB / 0.5228 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.27e-05/0.3423, allocations: 32.34 kB / 0.5228 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3424, allocations: 28.38 kB / 0.5228 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.3425, allocations: 7.625 kB / 0.5228 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.112e-05/0.3425, allocations: 6.688 kB / 0.5228 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.3425, allocations: 17.38 kB / 0.5228 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.3425, allocations: 30.73 kB / 0.5229 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.3427, allocations: 84.53 kB / 0.523 GB, free: 8.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3427, allocations: 4 kB / 0.523 GB, free: 8.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3427, allocations: 0 / 0.523 GB, free: 8.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3427, allocations: 0.6094 kB / 0.523 GB, free: 8.766 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004114/0.3431, allocations: 298.4 kB / 0.5232 GB, free: 8.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3432, allocations: 10.58 kB / 0.5233 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.895e-05/0.3432, allocations: 48.53 kB / 0.5233 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.3433, allocations: 9.312 kB / 0.5233 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.997e-05/0.3433, allocations: 110.9 kB / 0.5234 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3434, allocations: 8.688 kB / 0.5234 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3434, allocations: 6.047 kB / 0.5234 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.3435, allocations: 97.7 kB / 0.5235 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3435, allocations: 3.984 kB / 0.5235 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3436, allocations: 6.125 kB / 0.5235 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3436, allocations: 1.531 kB / 0.5235 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.954e-05/0.3437, allocations: 49.86 kB / 0.5236 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.3442, allocations: 327.7 kB / 0.5239 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.3443, allocations: 52.45 kB / 0.5239 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.3443, allocations: 18.84 kB / 0.524 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.3444, allocations: 5.875 kB / 0.524 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.3444, allocations: 39.97 kB / 0.524 GB, free: 7.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.011e-06/0.3444, allocations: 0 / 0.524 GB, free: 7.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001945/0.3446, allocations: 72.59 kB / 0.5241 GB, free: 7.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.3446, allocations: 57.06 kB / 0.5241 GB, free: 7.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.3447, allocations: 109.8 kB / 0.5242 GB, free: 7.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.3447, allocations: 29.7 kB / 0.5243 GB, free: 7.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.3447, allocations: 104.7 kB / 0.5244 GB, free: 7.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.3447, allocations: 24.56 kB / 0.5244 GB, free: 7.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.3448, allocations: 21.58 kB / 0.5244 GB, free: 7.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.3448, allocations: 317.9 kB / 0.5247 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.564e-05/0.3449, allocations: 18.55 kB / 0.5247 GB, free: 7.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/0.3449, allocations: 39.62 kB / 0.5248 GB, free: 7.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.906e-05/0.345, allocations: 53.22 kB / 0.5248 GB, free: 7.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.345, allocations: 0 / 0.5248 GB, free: 7.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001132/0.3451, allocations: 86.23 kB / 0.5249 GB, free: 6.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3451, allocations: 5 kB / 0.5249 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3451, allocations: 1.219 kB / 0.5249 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3451, allocations: 1.812 kB / 0.5249 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.3452, allocations: 28.52 kB / 0.5249 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3452, allocations: 1.156 kB / 0.5249 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/0.3453, allocations: 7.344 kB / 0.5249 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.3453, allocations: 2.25 kB / 0.5249 GB, free: 6.953 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 6.351e-05/0.3453, allocations: 122.9 kB / 0.5251 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.3454, allocations: 2.406 kB / 0.5251 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.3455, allocations: 78.98 kB / 0.5251 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3455, allocations: 5.719 kB / 0.5251 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3455, allocations: 0.8438 kB / 0.5251 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3455, allocations: 4 kB / 0.5251 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.3457, allocations: 154.6 kB / 0.5253 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3457, allocations: 1.188 kB / 0.5253 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.3458, allocations: 12.91 kB / 0.5253 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3458, allocations: 1.094 kB / 0.5253 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3458, allocations: 2.109 kB / 0.5253 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3458, allocations: 4.438 kB / 0.5253 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3458, allocations: 0 / 0.5253 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.3459, allocations: 174.5 kB / 0.5255 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.346, allocations: 6.906 kB / 0.5255 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.346, allocations: 9.609 kB / 0.5255 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.615e-05/0.346, allocations: 7.938 kB / 0.5255 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.3461, allocations: 4.891 kB / 0.5255 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3461, allocations: 2.312 kB / 0.5255 GB, free: 6.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.339e-05/0.3461, allocations: 85.81 kB / 0.5256 GB, free: 6.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3461, allocations: 5.031 kB / 0.5256 GB, free: 6.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.3463, allocations: 16.62 kB / 0.5256 GB, free: 6.332 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003183/0.3466, allocations: 0.695 MB / 0.5263 GB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.3468, allocations: 40.48 kB / 0.5263 GB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3468, allocations: 128 / 0.5263 GB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.692e-05/0.3468, allocations: 25.95 kB / 0.5264 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.3471, allocations: 15.16 kB / 0.5264 GB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.3476, allocations: 217.4 kB / 0.5266 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.922e-05/0.3477, allocations: 74.72 kB / 0.5266 GB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.522e-05/0.3477, allocations: 8.609 kB / 0.5267 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.3478, allocations: 21.47 kB / 0.5267 GB, free: 5.336 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3478, allocations: 0 / 0.5267 GB, free: 5.336 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.3741, allocations: 2.035 MB / 0.5287 GB, free: 4.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.35, allocations: 1.844 kB / 0.5287 GB, free: 4.496 MB / 382.1 MB " [Timeout remaining time 649] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001_fmu --startTime=0 --stopTime=10000 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001.fmu > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.251930687110871] Failed to read output from testmodel.py, exit status != 0: 11.457848673220724 11.482774929 11.134879261 Calling exit ...