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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009492/0.0009493, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2299/0.2299, allocations: 22.34 MB / 313.4 MB, free: 13.18 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003059, allocations: 12 kB / 381.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.355, allocations: 55.98 MB / 437.9 MB, free: 39.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.001538/0.3566, allocations: 1.381 MB / 439.3 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001977/0.3568, allocations: 60.88 kB / 439.4 MB, free: 38.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.3568, allocations: 2.75 kB / 439.4 MB, free: 38.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.3569, allocations: 0 / 439.4 MB, free: 38.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.357, allocations: 18.05 kB / 439.4 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.266e-05/0.3571, allocations: 14.12 kB / 439.4 MB, free: 38.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.074e-05/0.3572, allocations: 79.61 kB / 439.5 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3573, allocations: 26.31 kB / 439.5 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.958e-05/0.3573, allocations: 19.91 kB / 439.5 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.557e-05/0.3574, allocations: 27.69 kB / 439.5 MB, free: 38.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.3574, allocations: 2.594 kB / 439.5 MB, free: 38.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.3574, allocations: 3.938 kB / 439.5 MB, free: 38.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.3575, allocations: 19.19 kB / 439.6 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.3575, allocations: 40.67 kB / 439.6 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.894e-05/0.3576, allocations: 59.61 kB / 439.7 MB, free: 38.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3576, allocations: 0 / 439.7 MB, free: 38.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3576, allocations: 0 / 439.7 MB, free: 38.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.3576, allocations: 0 / 439.7 MB, free: 38.21 MB / 350.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.0003147/0.3579, allocations: 353.6 kB / 440 MB, free: 37.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.358, allocations: 11.03 kB / 440 MB, free: 37.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.358, allocations: 6.5 kB / 440 MB, free: 37.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.089e-05/0.3581, allocations: 173.4 kB / 440.2 MB, free: 37.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3581, allocations: 9.875 kB / 440.2 MB, free: 37.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.3581, allocations: 5.25 kB / 440.2 MB, free: 37.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3583, allocations: 91.53 kB / 440.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3583, allocations: 3.953 kB / 440.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3583, allocations: 4 kB / 440.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.3583, allocations: 2.75 kB / 440.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.972e-05/0.3584, allocations: 47.98 kB / 440.4 MB, free: 37.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.3589, allocations: 460 kB / 440.8 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.201e-05/0.3591, allocations: 52.8 kB / 440.9 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.3591, allocations: 23.39 kB / 440.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3591, allocations: 7.25 kB / 440.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.3591, allocations: 42.5 kB / 440.9 MB, free: 37.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3592, allocations: 0 / 440.9 MB, free: 37.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001847/0.3593, allocations: 71.19 kB / 441 MB, free: 36.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.3594, allocations: 55.36 kB / 441 MB, free: 36.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.3595, allocations: 113.1 kB / 441.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.3595, allocations: 25.7 kB / 441.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.3595, allocations: 108.7 kB / 441.3 MB, free: 36.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.3595, allocations: 18.03 kB / 441.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.3595, allocations: 8 kB / 441.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.3596, allocations: 316.9 kB / 441.6 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.3596, allocations: 9.25 kB / 441.6 MB, free: 36.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.3597, allocations: 40.28 kB / 441.7 MB, free: 36.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.747e-05/0.3597, allocations: 22.28 kB / 441.7 MB, free: 36.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3597, allocations: 0 / 441.7 MB, free: 36.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001032/0.3598, allocations: 84.52 kB / 441.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3599, allocations: 5.531 kB / 441.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3599, allocations: 0.5 kB / 441.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3599, allocations: 2.688 kB / 441.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.691e-05/0.36, allocations: 16.5 kB / 441.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.36, allocations: 3.953 kB / 441.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.043e-05/0.36, allocations: 14.72 kB / 441.8 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3601, allocations: 2.781 kB / 441.8 MB, free: 36.21 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.138e-05/0.3601, allocations: 119.4 kB / 441.9 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.3602, allocations: 7.469 kB / 441.9 MB, free: 36.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.3603, allocations: 81.42 kB / 442 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3603, allocations: 3.844 kB / 442 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3603, allocations: 0 / 442 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3603, allocations: 3.953 kB / 442 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.3605, allocations: 182.8 kB / 442.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3605, allocations: 0 / 442.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.3605, allocations: 16.91 kB / 442.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3606, allocations: 0 / 442.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.3606, allocations: 7.938 kB / 442.2 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3606, allocations: 2.656 kB / 442.2 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3606, allocations: 3.328 kB / 442.2 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.3607, allocations: 166.2 kB / 442.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.3607, allocations: 83.7 kB / 442.5 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.3608, allocations: 0 / 442.5 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.643e-05/0.3608, allocations: 0 / 442.5 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.3608, allocations: 7.281 kB / 442.5 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3609, allocations: 8.188 kB / 442.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.444e-05/0.3609, allocations: 81.59 kB / 442.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3609, allocations: 3.938 kB / 442.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00023/0.3611, allocations: 24.86 kB / 442.6 MB, free: 35.47 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.741e-05/0.3612, allocations: 98.44 kB / 442.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.3613, allocations: 34.84 kB / 442.7 MB, free: 35.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3613, allocations: 0 / 442.7 MB, free: 35.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.042e-05/0.3614, allocations: 32.31 kB / 442.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.3617, allocations: 7.141 kB / 442.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.362, allocations: 202.4 kB / 443 MB, free: 35.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.3622, allocations: 0.6923 MB / 443.7 MB, free: 34.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.172e-05/0.3622, allocations: 8.281 kB / 443.7 MB, free: 34.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.3622, allocations: 10.12 kB / 443.7 MB, free: 34.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3623, allocations: 0 / 443.7 MB, free: 34.48 MB / 350.1 MB Notification: Performance of Templates: time 0.002376/0.3646, allocations: 456.1 kB / 444.1 MB, free: 34.4 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.makefile (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 & ./AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1)