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.001021/0.001021, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.001146/0.001146, allocations: 177.3 kB / 15.94 MB, free: 220 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.446/1.446, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2249/0.2249, allocations: 22.33 MB / 313.3 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004611, allocations: 11.94 kB / 381.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3613, allocations: 55.98 MB / 437.8 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.001448/0.3627, allocations: 1.346 MB / 439.2 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001599/0.3629, allocations: 70.12 kB / 439.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.363, allocations: 3.938 kB / 439.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.363, allocations: 9.594 kB / 439.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.3632, allocations: 21.55 kB / 439.3 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.068e-05/0.3632, allocations: 13.95 kB / 439.3 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.534e-05/0.3633, allocations: 51 kB / 439.3 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3635, allocations: 27.34 kB / 439.3 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.032e-05/0.3635, allocations: 26.94 kB / 439.4 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.362e-05/0.3636, allocations: 30.23 kB / 439.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.3636, allocations: 2.812 kB / 439.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.3636, allocations: 2.844 kB / 439.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.3636, allocations: 10.59 kB / 439.4 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.3637, allocations: 41.61 kB / 439.5 MB, free: 38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.648e-05/0.3637, allocations: 56.75 kB / 439.5 MB, free: 37.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.3637, allocations: 0 / 439.5 MB, free: 37.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3638, allocations: 0 / 439.5 MB, free: 37.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.3638, allocations: 4 kB / 439.5 MB, free: 37.99 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.0003158/0.3641, allocations: 355.9 kB / 439.9 MB, free: 37.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3641, allocations: 10.53 kB / 439.9 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.3642, allocations: 8.844 kB / 439.9 MB, free: 37.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.865e-05/0.3643, allocations: 166 kB / 440 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3643, allocations: 10.78 kB / 440.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.3643, allocations: 6.188 kB / 440.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3645, allocations: 91 kB / 440.2 MB, free: 37.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3645, allocations: 10.48 kB / 440.2 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3645, allocations: 0 / 440.2 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.3645, allocations: 2.844 kB / 440.2 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.554e-05/0.3646, allocations: 49.91 kB / 440.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.3651, allocations: 452.4 kB / 440.7 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3652, allocations: 64.19 kB / 440.7 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3653, allocations: 0 / 440.7 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.301e-05/0.3653, allocations: 33.53 kB / 440.8 MB, free: 36.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3653, allocations: 3.984 kB / 440.8 MB, free: 36.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001705/0.3655, allocations: 74.34 kB / 440.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.3655, allocations: 55.36 kB / 440.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.981e-05/0.3655, allocations: 104.1 kB / 441 MB, free: 36.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.3656, allocations: 32.45 kB / 441 MB, free: 36.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.3656, allocations: 109.7 kB / 441.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.3656, allocations: 25.3 kB / 441.1 MB, free: 36.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.3656, allocations: 2.25 kB / 441.1 MB, free: 36.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.673e-05/0.3657, allocations: 314.8 kB / 441.5 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.663e-05/0.3657, allocations: 18.89 kB / 441.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.3e-05/0.3658, allocations: 36.42 kB / 441.5 MB, free: 36.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.722e-05/0.3658, allocations: 27.14 kB / 441.5 MB, free: 36.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3658, allocations: 0 / 441.5 MB, free: 36.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.734e-05/0.3659, allocations: 82.09 kB / 441.6 MB, free: 36.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3659, allocations: 5.062 kB / 441.6 MB, free: 36.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3659, allocations: 2.656 kB / 441.6 MB, free: 36.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.366, allocations: 0 / 441.6 MB, free: 36.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.3661, allocations: 23.97 kB / 441.6 MB, free: 36.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3661, allocations: 3.938 kB / 441.7 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.184e-05/0.3661, allocations: 14.86 kB / 441.7 MB, free: 35.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.3661, allocations: 3.062 kB / 441.7 MB, free: 35.99 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 5.163e-05/0.3662, allocations: 119.6 kB / 441.8 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.3662, allocations: 3.031 kB / 441.8 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.3663, allocations: 76.52 kB / 441.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3664, allocations: 2.469 kB / 441.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3664, allocations: 0 / 441.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3664, allocations: 0 / 441.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.3665, allocations: 196.9 kB / 442.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3665, allocations: 3.938 kB / 442.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.3666, allocations: 14.77 kB / 442.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3666, allocations: 3.031 kB / 442.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.3666, allocations: 0 / 442.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.3666, allocations: 0 / 442.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3666, allocations: 0 / 442.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.3667, allocations: 162 kB / 442.2 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.3668, allocations: 91.67 kB / 442.3 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.3668, allocations: 0 / 442.3 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.655e-05/0.3668, allocations: 2.906 kB / 442.3 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.3669, allocations: 5.797 kB / 442.3 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.3669, allocations: 0 / 442.3 MB, free: 35.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.017e-05/0.3669, allocations: 88.75 kB / 442.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3669, allocations: 3.938 kB / 442.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.3671, allocations: 18.44 kB / 442.4 MB, free: 35.26 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 7.575e-05/0.3672, allocations: 103.4 kB / 442.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.3673, allocations: 38.2 kB / 442.6 MB, free: 35.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3673, allocations: 3.938 kB / 442.6 MB, free: 35.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.36e-05/0.3674, allocations: 15.38 kB / 442.6 MB, free: 35.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.3676, allocations: 14.58 kB / 442.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.3679, allocations: 204.4 kB / 442.8 MB, free: 34.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.368, allocations: 0.6972 MB / 443.5 MB, free: 34.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.978e-05/0.3681, allocations: 2.906 kB / 443.5 MB, free: 34.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.3681, allocations: 14.16 kB / 443.5 MB, free: 34.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3681, allocations: 0 / 443.5 MB, free: 34.27 MB / 350.1 MB Notification: Performance of Templates: time 0.002165/0.3703, allocations: 442.4 kB / 444 MB, free: 34.2 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: