Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.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.001251/0.001251, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.001353/0.001353, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.368/1.368, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.1028/0.1028, allocations: 24.11 MB / 333 MB, free: 12.61 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a",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.002209/0.002209, allocations: 68.12 kB / 468.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3481, allocations: 59.57 MB / 0.5158 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.003225/0.3513, allocations: 2.233 MB / 0.5179 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000329/0.3516, allocations: 168 kB / 0.5181 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.3517, allocations: 3.906 kB / 0.5181 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.344e-05/0.3518, allocations: 30.47 kB / 0.5181 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.3519, allocations: 63.3 kB / 0.5182 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.352, allocations: 57.34 kB / 0.5182 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.3523, allocations: 238.6 kB / 0.5185 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.3524, allocations: 78.92 kB / 0.5185 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.587e-05/0.3525, allocations: 82.92 kB / 0.5186 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3527, allocations: 102.2 kB / 0.5187 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.3527, allocations: 20.75 kB / 0.5187 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.594e-05/0.3527, allocations: 25.25 kB / 0.5188 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.3528, allocations: 46.38 kB / 0.5188 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.329e-05/0.3529, allocations: 121.8 kB / 0.5189 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.3531, allocations: 239.6 kB / 0.5192 GB, free: 7.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3531, allocations: 1.188 kB / 0.5192 GB, free: 7.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3531, allocations: 0 / 0.5192 GB, free: 7.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.3531, allocations: 0 / 0.5192 GB, free: 7.875 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005575/0.3537, allocations: 0.4908 MB / 0.5196 GB, free: 7.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3537, allocations: 9.25 kB / 0.5196 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.972e-05/0.3538, allocations: 60.69 kB / 0.5197 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.3538, allocations: 25.64 kB / 0.5197 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.354, allocations: 187.8 kB / 0.5199 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.354, allocations: 14.09 kB / 0.5199 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.354, allocations: 24.25 kB / 0.5199 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.3543, allocations: 198.9 kB / 0.5201 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3543, allocations: 3.938 kB / 0.5201 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.3544, allocations: 10.22 kB / 0.5201 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3544, allocations: 9.719 kB / 0.5202 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.3546, allocations: 141.5 kB / 0.5203 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009608/0.3556, allocations: 0.9403 MB / 0.5212 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.3558, allocations: 152.2 kB / 0.5214 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.3561, allocations: 132.5 kB / 0.5215 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.3562, allocations: 1.375 kB / 0.5215 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.3562, allocations: 44.59 kB / 0.5215 GB, free: 5.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.3562, allocations: 0 / 0.5215 GB, free: 5.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002016/0.3582, allocations: 0.6958 MB / 0.5222 GB, free: 5.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.3582, allocations: 57.5 kB / 0.5223 GB, free: 5.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.589e-05/0.3583, allocations: 133.8 kB / 0.5224 GB, free: 5.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.3583, allocations: 30.83 kB / 0.5224 GB, free: 5.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.3584, allocations: 146.6 kB / 0.5226 GB, free: 5.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.3585, allocations: 70.77 kB / 0.5226 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.3585, allocations: 43.47 kB / 0.5227 GB, free: 5.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.3586, allocations: 325.7 kB / 0.523 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.87e-05/0.3587, allocations: 43.03 kB / 0.523 GB, free: 4.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.646e-05/0.3588, allocations: 79 kB / 0.5231 GB, free: 4.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.3589, allocations: 140.4 kB / 0.5232 GB, free: 4.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3589, allocations: 1.219 kB / 0.5232 GB, free: 4.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007306/0.3597, allocations: 319.9 kB / 0.5235 GB, free: 4.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3597, allocations: 9.188 kB / 0.5235 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3597, allocations: 1 kB / 0.5235 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007155/0.3604, allocations: 182.2 kB / 0.5237 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.3605, allocations: 24.53 kB / 0.5237 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/0.3642, allocations: 3.843 MB / 0.5275 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.3643, allocations: 14.67 kB / 0.5275 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.3643, allocations: 5.906 kB / 0.5275 GB, free: 1.125 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (11): * 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: 2 * 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): 2 systems {(1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.3644, allocations: 134.7 kB / 0.5276 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.3645, allocations: 10.64 kB / 0.5276 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007321/0.3652, allocations: 320.9 kB / 0.528 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3652, allocations: 2.688 kB / 0.528 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.3652, allocations: 0 / 0.528 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3652, allocations: 3.797 kB / 0.528 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.3655, allocations: 269.9 kB / 0.5282 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3655, allocations: 0 / 0.5282 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.3655, allocations: 13.89 kB / 0.5282 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005751/0.3661, allocations: 194.2 kB / 0.5284 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3661, allocations: 5.984 kB / 0.5284 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004191/0.3703, allocations: 3.807 MB / 0.5321 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3703, allocations: 0 / 0.5321 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007562/0.3711, allocations: 393.1 kB / 0.5325 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.3712, allocations: 85.52 kB / 0.5326 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3712, allocations: 10.38 kB / 0.5326 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.3713, allocations: 7.938 kB / 0.5326 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.3713, allocations: 17.53 kB / 0.5326 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3713, allocations: 4.578 kB / 0.5326 GB, free: 12.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.397e-05/0.3714, allocations: 106.6 kB / 0.5327 GB, free: 12.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3714, allocations: 0 / 0.5327 GB, free: 12.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005334/0.3719, allocations: 81.88 kB / 0.5328 GB, free: 12.68 MB / 398.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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.373, allocations: 0.928 MB / 0.5337 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007024/0.3737, allocations: 407.4 kB / 0.5341 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3737, allocations: 0 / 0.5341 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005142/0.3742, allocations: 360.5 kB / 0.5345 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.3745, allocations: 11.77 kB / 0.5345 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.3761, allocations: 0.5238 MB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.3765, allocations: 0.7407 MB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.418e-05/0.3765, allocations: 5.609 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.3766, allocations: 48.05 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3766, allocations: 0 / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0358/0.4124, allocations: 4.705 MB / 0.5403 GB, free: 9.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.65, allocations: 12.47 kB / 0.5404 GB, free: 9.527 MB / 398.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a_fmu --startTime=0 --stopTime=10000 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a.fmu > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.285503828898072] Failed to read output from testmodel.py, exit status != 0: 11.742217851104215 11.757512886 11.400970109 Calling exit ...