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.0008229/0.0008229, allocations: 80.53 kB / 19.95 MB, free: 4.609 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.0008619/0.0008619, 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.8858/0.8858, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.06152/0.06152, allocations: 18.13 MB / 278.1 MB, free: 11.52 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_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: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 415.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.487e-05, allocations: 4.281 kB / 415.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003086/0.00311, allocations: 1.677 MB / 416.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002833/0.003394, allocations: 62.84 kB / 416.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.824e-05/0.003462, allocations: 6.188 kB / 416.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 6.003e-05/0.003522, allocations: 11.02 kB / 416.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.003699, allocations: 21.75 kB / 416.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.529e-05/0.003785, allocations: 15.88 kB / 416.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.003945, allocations: 84.44 kB / 416.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.004122, allocations: 25.64 kB / 417 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.814e-05/0.00419, allocations: 23.72 kB / 417 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.00431, allocations: 29.61 kB / 417 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.004347, allocations: 11.16 kB / 417 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.84e-05/0.004365, allocations: 6.938 kB / 417 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.004391, allocations: 13.23 kB / 417 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.00444, allocations: 27.17 kB / 417.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.00462, allocations: 84.28 kB / 417.2 MB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.004625, allocations: 0 / 417.2 MB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.004627, allocations: 0 / 417.2 MB, free: 11.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.004633, allocations: 1.219 kB / 417.2 MB, free: 11.44 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004621/0.005096, allocations: 297.3 kB / 417.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.005147, allocations: 10.45 kB / 417.5 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.005186, allocations: 44.97 kB / 417.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.005222, allocations: 13.44 kB / 417.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.784e-05/0.005299, allocations: 114.4 kB / 417.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.005316, allocations: 11.45 kB / 417.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.005332, allocations: 10.72 kB / 417.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.005511, allocations: 91.33 kB / 417.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.005522, allocations: 0 / 417.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.005533, allocations: 0 / 417.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.005541, allocations: 3.844 kB / 417.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.00565, allocations: 57.77 kB / 417.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.006241, allocations: 327.2 kB / 418.1 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.006367, allocations: 53.55 kB / 418.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.00641, allocations: 18.12 kB / 418.2 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.006432, allocations: 2.516 kB / 418.2 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.006451, allocations: 36.06 kB / 418.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.006452, allocations: 1.406 kB / 418.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.000222/0.006674, allocations: 76.77 kB / 418.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.006701, allocations: 52.88 kB / 418.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.901e-05/0.00677, allocations: 106.1 kB / 418.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.006778, allocations: 29.7 kB / 418.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.00682, allocations: 112.9 kB / 418.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.006836, allocations: 20.11 kB / 418.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.006879, allocations: 20.09 kB / 418.6 MB, free: 10.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.505e-05/0.006914, allocations: 323.4 kB / 418.9 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.423e-05/0.006948, allocations: 17.09 kB / 419 MB, free: 9.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.954e-05/0.006997, allocations: 37.66 kB / 419 MB, free: 9.738 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/0.00708, allocations: 58.89 kB / 419.1 MB, free: 9.695 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.007083, allocations: 0 / 419.1 MB, free: 9.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001342/0.007217, allocations: 89.7 kB / 419.1 MB, free: 9.637 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.007237, allocations: 5.219 kB / 419.2 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.007245, allocations: 1.562 kB / 419.2 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.007264, allocations: 2.281 kB / 419.2 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.007396, allocations: 19.72 kB / 419.2 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.007403, allocations: 2.031 kB / 419.2 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.496e-05/0.007438, allocations: 6.594 kB / 419.2 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.00745, allocations: 3.359 kB / 419.2 MB, free: 9.629 MB / 330.7 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.597e-05/0.007516, allocations: 118.4 kB / 419.3 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.007542, allocations: 5.391 kB / 419.3 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.00774, allocations: 83.8 kB / 419.4 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.007745, allocations: 2.625 kB / 419.4 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.00775, allocations: 0 / 419.4 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.007754, allocations: 0.5625 kB / 419.4 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.007925, allocations: 163.4 kB / 419.6 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.007928, allocations: 4 kB / 419.6 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-05/0.008009, allocations: 17.95 kB / 419.6 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.008014, allocations: 0 / 419.6 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.008024, allocations: 1.875 kB / 419.6 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.008026, allocations: 0 / 419.6 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.008028, allocations: 5.312 kB / 419.6 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.008159, allocations: 169.9 kB / 419.7 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.008174, allocations: 3.016 kB / 419.7 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.008188, allocations: 0.5625 kB / 419.7 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.805e-05/0.008246, allocations: 5.094 kB / 419.8 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.008265, allocations: 5.609 kB / 419.8 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.00827, allocations: 1.594 kB / 419.8 MB, free: 9.102 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.591e-05/0.008296, allocations: 93.41 kB / 419.9 MB, free: 9.016 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008296, allocations: 0 / 419.9 MB, free: 9.016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002777/0.008574, allocations: 18.14 kB / 419.9 MB, free: 9.012 MB / 330.7 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.0002937/0.008868, allocations: 0.7027 MB / 420.6 MB, free: 8.328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.00902, allocations: 41.5 kB / 420.6 MB, free: 8.316 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.009023, allocations: 192 / 420.6 MB, free: 8.316 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.009054, allocations: 17.03 kB / 420.6 MB, free: 8.312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.009435, allocations: 11.36 kB / 420.6 MB, free: 8.305 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.01002, allocations: 203.6 kB / 420.8 MB, free: 8.121 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.354e-05/0.01008, allocations: 78.56 kB / 420.9 MB, free: 8.047 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.562e-05/0.01013, allocations: 4.781 kB / 420.9 MB, free: 8.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.01018, allocations: 25.62 kB / 420.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01018, allocations: 1.781 kB / 420.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.02785, allocations: 2.158 MB / 423.1 MB, free: 7.102 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.618/6.646, allocations: 8.984 kB / 423.1 MB, free: 7.102 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.495677961967885] Failed to read output from testmodel.py, exit status != 0: 6.726575223729014 6.733370978 6.72695718 Calling exit ...