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.001752/0.001752, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00263/0.00263, allocations: 216 kB / 22.26 MB, free: 5.125 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.984 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.1102/0.1102, allocations: 24.13 MB / 336.6 MB, free: 11.53 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.002158/0.002158, allocations: 64.19 kB / 473.3 MB, free: 6.414 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3296, allocations: 59.61 MB / 0.5204 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002422/0.332, allocations: 1.713 MB / 0.5221 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002035/0.3322, allocations: 59.55 kB / 0.5222 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.3323, allocations: 6.438 kB / 0.5222 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.812e-05/0.3323, allocations: 6.844 kB / 0.5222 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.3324, allocations: 21.84 kB / 0.5222 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.297e-05/0.3325, allocations: 19.53 kB / 0.5222 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3326, allocations: 76.73 kB / 0.5223 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.3327, allocations: 33.17 kB / 0.5223 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.3328, allocations: 28.89 kB / 0.5223 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.159e-05/0.3329, allocations: 40.25 kB / 0.5224 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.3329, allocations: 6.25 kB / 0.5224 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.3329, allocations: 7.844 kB / 0.5224 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.3329, allocations: 21.16 kB / 0.5224 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.333, allocations: 38.67 kB / 0.5224 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.3331, allocations: 73.66 kB / 0.5225 GB, free: 8.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3331, allocations: 4.562 kB / 0.5225 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3331, allocations: 1 kB / 0.5225 GB, free: 8.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3331, allocations: 0 / 0.5225 GB, free: 8.648 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.0003654/0.3335, allocations: 299.7 kB / 0.5228 GB, free: 8.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3335, allocations: 9.766 kB / 0.5228 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.3335, allocations: 40.38 kB / 0.5229 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.3336, allocations: 14.19 kB / 0.5229 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.748e-05/0.3336, allocations: 114.5 kB / 0.523 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3336, allocations: 8.469 kB / 0.523 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.3337, allocations: 9.188 kB / 0.523 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.3338, allocations: 91.08 kB / 0.5231 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3338, allocations: 1 kB / 0.5231 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3339, allocations: 5 kB / 0.5231 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.3339, allocations: 2.312 kB / 0.5231 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.334, allocations: 49.06 kB / 0.5231 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.3345, allocations: 420.4 kB / 0.5235 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.3346, allocations: 56.31 kB / 0.5236 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.3346, allocations: 23.34 kB / 0.5236 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.3346, allocations: 1.344 kB / 0.5236 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.3346, allocations: 36.72 kB / 0.5236 GB, free: 7.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3346, allocations: 3.938 kB / 0.5237 GB, free: 7.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001853/0.3348, allocations: 75.44 kB / 0.5237 GB, free: 7.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.3348, allocations: 60.47 kB / 0.5238 GB, free: 7.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.878e-05/0.3349, allocations: 110.5 kB / 0.5239 GB, free: 7.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.3349, allocations: 25.7 kB / 0.5239 GB, free: 7.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.3349, allocations: 108.6 kB / 0.524 GB, free: 7.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.335, allocations: 23.39 kB / 0.524 GB, free: 7.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.335, allocations: 21.03 kB / 0.5241 GB, free: 7.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.107e-05/0.335, allocations: 319.1 kB / 0.5244 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.3351, allocations: 16.31 kB / 0.5244 GB, free: 6.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.819e-05/0.3351, allocations: 33.5 kB / 0.5244 GB, free: 6.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.763e-05/0.3352, allocations: 55.75 kB / 0.5245 GB, free: 6.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3352, allocations: 1.094 kB / 0.5245 GB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001129/0.3353, allocations: 92.78 kB / 0.5246 GB, free: 6.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3353, allocations: 6.344 kB / 0.5246 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3353, allocations: 5.156 kB / 0.5246 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3353, allocations: 1.25 kB / 0.5246 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.3354, allocations: 20.98 kB / 0.5246 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3354, allocations: 1.219 kB / 0.5246 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.839e-05/0.3355, allocations: 6.344 kB / 0.5246 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.3355, allocations: 3.078 kB / 0.5246 GB, free: 6.734 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 5.008e-05/0.3355, allocations: 121.9 kB / 0.5247 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.3356, allocations: 6.172 kB / 0.5247 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.3357, allocations: 79.77 kB / 0.5248 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3357, allocations: 5.031 kB / 0.5248 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3357, allocations: 0 / 0.5248 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3357, allocations: 1.875 kB / 0.5248 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.3358, allocations: 156.9 kB / 0.5249 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3359, allocations: 2.031 kB / 0.525 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.684e-05/0.3359, allocations: 16.86 kB / 0.525 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3359, allocations: 4 kB / 0.525 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3359, allocations: 6.297 kB / 0.525 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3359, allocations: 3.938 kB / 0.525 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3359, allocations: 1.188 kB / 0.525 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.336, allocations: 160.2 kB / 0.5251 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.336, allocations: 3.203 kB / 0.5251 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.3361, allocations: 5.828 kB / 0.5251 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.956e-05/0.3361, allocations: 7.938 kB / 0.5251 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.3361, allocations: 8.812 kB / 0.5252 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3361, allocations: 2 kB / 0.5252 GB, free: 6.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.569e-05/0.3362, allocations: 86.56 kB / 0.5252 GB, free: 6.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3362, allocations: 3.938 kB / 0.5252 GB, free: 6.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.3364, allocations: 21.17 kB / 0.5253 GB, free: 6.113 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.0002692/0.3367, allocations: 0.7065 MB / 0.526 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.3368, allocations: 38.48 kB / 0.526 GB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3368, allocations: 1.281 kB / 0.526 GB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.829e-05/0.3368, allocations: 17.5 kB / 0.526 GB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3371, allocations: 11.58 kB / 0.526 GB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.3376, allocations: 215.8 kB / 0.5262 GB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.3377, allocations: 0.6948 MB / 0.5269 GB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.4e-05/0.3377, allocations: 6.156 kB / 0.5269 GB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.3378, allocations: 19.36 kB / 0.5269 GB, free: 4.492 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3378, allocations: 1.438 kB / 0.5269 GB, free: 4.492 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.3633, allocations: 1.671 MB / 0.5286 GB, free: 4.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.39, allocations: 2.125 kB / 0.5286 GB, free: 4.074 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.192782344995067] Failed to read output from testmodel.py, exit status != 0: 11.493513482855633 11.518048425 11.180016679 Calling exit ...