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.0008645/0.0008645, 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.0008725/0.0008725, allocations: 169.6 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.927/0.927, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.06318/0.06318, allocations: 18.14 MB / 278.1 MB, free: 11.53 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_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: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 415.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.86e-05, allocations: 2.281 kB / 415.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.00276/0.002788, allocations: 2.115 MB / 418 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003986/0.003187, allocations: 185.4 kB / 418.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.466e-05/0.003252, allocations: 3.75 kB / 418.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 6.43e-05/0.003316, allocations: 31.42 kB / 418.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.003426, allocations: 62.12 kB / 418.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.003565, allocations: 51.83 kB / 418.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.00375, allocations: 250.8 kB / 418.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.003923, allocations: 69.55 kB / 418.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.004025, allocations: 84.5 kB / 418.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.004169, allocations: 69.33 kB / 418.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.004211, allocations: 21.97 kB / 418.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.712e-05/0.004238, allocations: 20.22 kB / 418.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.004276, allocations: 50 kB / 418.9 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.004348, allocations: 82.34 kB / 418.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.004573, allocations: 240.5 kB / 419.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004575, allocations: 1.859 kB / 419.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004576, allocations: 0 / 419.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.00458, allocations: 4 kB / 419.2 MB, free: 10.31 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0004152/0.004996, allocations: 419.6 kB / 419.6 MB, free: 9.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.005033, allocations: 10.31 kB / 419.6 MB, free: 9.957 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.005073, allocations: 63.69 kB / 419.7 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.005114, allocations: 26.11 kB / 419.7 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.459e-05/0.005189, allocations: 129.8 kB / 419.8 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.005207, allocations: 22.5 kB / 419.8 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.005228, allocations: 26.97 kB / 419.9 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.005469, allocations: 199.2 kB / 420.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.005478, allocations: 192 / 420.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.005494, allocations: 9.844 kB / 420.1 MB, free: 9.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.005504, allocations: 11.91 kB / 420.1 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.005679, allocations: 143.8 kB / 420.2 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.00637, allocations: 0.5464 MB / 420.8 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.006631, allocations: 164.3 kB / 420.9 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.006833, allocations: 126.5 kB / 421 MB, free: 9.059 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.006854, allocations: 2.891 kB / 421 MB, free: 9.059 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.00687, allocations: 36.75 kB / 421.1 MB, free: 9.016 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 3.947e-06/0.006874, allocations: 4 kB / 421.1 MB, free: 9.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001215/0.008089, allocations: 0.5362 MB / 421.6 MB, free: 8.859 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.008118, allocations: 57.78 kB / 421.7 MB, free: 8.793 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.172e-05/0.00821, allocations: 136 kB / 421.8 MB, free: 8.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.00822, allocations: 25.7 kB / 421.8 MB, free: 8.648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.00829, allocations: 147 kB / 422 MB, free: 8.516 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.008333, allocations: 80.34 kB / 422.1 MB, free: 8.449 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.00839, allocations: 38.89 kB / 422.1 MB, free: 8.422 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.722e-05/0.008447, allocations: 325.5 kB / 422.4 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.00851, allocations: 46.67 kB / 422.5 MB, free: 8.086 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.304e-05/0.008594, allocations: 78.8 kB / 422.5 MB, free: 8.035 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.008748, allocations: 142.8 kB / 422.7 MB, free: 7.949 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.008751, allocations: 0 / 422.7 MB, free: 7.949 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004975/0.009248, allocations: 326.9 kB / 423 MB, free: 7.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.009268, allocations: 5.156 kB / 423 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.009277, allocations: 2.016 kB / 423 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/0.009732, allocations: 178.6 kB / 423.2 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.788e-05/0.0098, allocations: 20.98 kB / 423.2 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/0.01231, allocations: 3.613 MB / 426.8 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.01236, allocations: 11.92 kB / 426.8 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.01237, allocations: 9.734 kB / 426.8 MB, free: 4.602 MB / 330.7 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 6.938e-05/0.01244, allocations: 131.1 kB / 427 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.01246, allocations: 14.48 kB / 427 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.01289, allocations: 311.7 kB / 427.3 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.0129, allocations: 2.5 kB / 427.3 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.0129, allocations: 4.812 kB / 427.3 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.0129, allocations: 5.062 kB / 427.3 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.01308, allocations: 228.8 kB / 427.5 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01308, allocations: 1.438 kB / 427.5 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.01312, allocations: 12.61 kB / 427.5 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003237/0.01344, allocations: 170.4 kB / 427.7 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.01345, allocations: 9.641 kB / 427.7 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.01545, allocations: 3.581 MB / 431.3 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01545, allocations: 5.375 kB / 431.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.01586, allocations: 404.6 kB / 431.7 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.01587, allocations: 9.266 kB / 431.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-06/0.01588, allocations: 2.094 kB / 431.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.205e-05/0.01592, allocations: 5.156 kB / 431.7 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.01597, allocations: 18.02 kB / 431.7 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.01598, allocations: 7.469 kB / 431.7 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.714e-05/0.01601, allocations: 102.3 kB / 431.8 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01601, allocations: 0 / 431.8 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003666/0.01638, allocations: 82.28 kB / 431.9 MB, free: 0.5664 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 (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.0005497/0.01693, allocations: 0.9193 MB / 432.8 MB, free: 15.81 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000437/0.01737, allocations: 413.8 kB / 433.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.01737, allocations: 1.344 kB / 433.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.01764, allocations: 364.5 kB / 433.6 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.01783, allocations: 17.14 kB / 433.6 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009392/0.01877, allocations: 0.5151 MB / 434.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.01888, allocations: 121.7 kB / 434.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.691e-05/0.01891, allocations: 9.609 kB / 434.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.01897, allocations: 47.91 kB / 434.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of SimCode: time 5.1e-07/0.01897, allocations: 0 / 434.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.03855, allocations: 5.087 MB / 439.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/7.795, allocations: 11.03 kB / 439.4 MB, free: 13.11 MB / 346.7 MB " [Timeout remaining time 652] (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: 9.763626722618937] Failed to read output from testmodel.py, exit status != 0: 7.88256187364459 7.890667843 7.884414106 Calling exit ...