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.001035/0.001035, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008371/0.008372, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2551/0.2551, allocations: 22.35 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003667, allocations: 11.98 kB / 382.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3111, allocations: 55.98 MB / 438.6 MB, free: 39.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.001487/0.3126, allocations: 1.4 MB / 440 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000186/0.3128, allocations: 58.62 kB / 440 MB, free: 38.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.3129, allocations: 10.53 kB / 440 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.3129, allocations: 3.281 kB / 440 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.3131, allocations: 21.5 kB / 440.1 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.968e-05/0.3131, allocations: 13.98 kB / 440.1 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.549e-05/0.3132, allocations: 74.28 kB / 440.1 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.3134, allocations: 38.44 kB / 440.2 MB, free: 38.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.449e-05/0.3134, allocations: 26.61 kB / 440.2 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.1e-05/0.3135, allocations: 28.08 kB / 440.2 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.3135, allocations: 3.219 kB / 440.2 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.3135, allocations: 3.375 kB / 440.2 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.3135, allocations: 11.05 kB / 440.3 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.3136, allocations: 60.88 kB / 440.3 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.05e-05/0.3137, allocations: 70.25 kB / 440.4 MB, free: 38.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3137, allocations: 2.906 kB / 440.4 MB, free: 38.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3137, allocations: 4 kB / 440.4 MB, free: 38.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.3137, allocations: 0 / 440.4 MB, free: 38.08 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.0003215/0.314, allocations: 356.9 kB / 440.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3141, allocations: 19.09 kB / 440.8 MB, free: 37.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.3141, allocations: 7.469 kB / 440.8 MB, free: 37.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.011e-05/0.3142, allocations: 170.9 kB / 440.9 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3142, allocations: 5.906 kB / 440.9 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3143, allocations: 9.438 kB / 440.9 MB, free: 37.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3144, allocations: 94.67 kB / 441 MB, free: 37.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3144, allocations: 0 / 441 MB, free: 37.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3145, allocations: 4 kB / 441 MB, free: 37.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3145, allocations: 2.375 kB / 441 MB, free: 37.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.606e-05/0.3146, allocations: 50.03 kB / 441.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.3151, allocations: 456 kB / 441.5 MB, free: 36.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.482e-05/0.3152, allocations: 69.14 kB / 441.6 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.3152, allocations: 24.5 kB / 441.6 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.3152, allocations: 0 / 441.6 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.3153, allocations: 37.84 kB / 441.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.3153, allocations: 2.938 kB / 441.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001754/0.3154, allocations: 64.86 kB / 441.7 MB, free: 36.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.3155, allocations: 62.16 kB / 441.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.901e-05/0.3155, allocations: 109.5 kB / 441.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.3156, allocations: 25.7 kB / 441.9 MB, free: 36.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.3156, allocations: 110.1 kB / 442 MB, free: 36.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.3156, allocations: 19.66 kB / 442.1 MB, free: 36.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.3156, allocations: 19.98 kB / 442.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.3157, allocations: 314.8 kB / 442.4 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.3157, allocations: 15.3 kB / 442.4 MB, free: 36.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.457e-05/0.3158, allocations: 40.56 kB / 442.4 MB, free: 36.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.548e-05/0.3158, allocations: 55.62 kB / 442.5 MB, free: 36.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3159, allocations: 0 / 442.5 MB, free: 36.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001048/0.316, allocations: 86.62 kB / 442.6 MB, free: 36.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.316, allocations: 7.75 kB / 442.6 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.316, allocations: 6.594 kB / 442.6 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.316, allocations: 0 / 442.6 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.781e-05/0.3161, allocations: 15.38 kB / 442.6 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.3161, allocations: 7.312 kB / 442.6 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.3162, allocations: 3.062 kB / 442.6 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.3162, allocations: 7.219 kB / 442.6 MB, free: 36.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.011e-05/0.3163, allocations: 128.5 kB / 442.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.3163, allocations: 2.688 kB / 442.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.3164, allocations: 83.2 kB / 442.8 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3164, allocations: 0 / 442.8 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3164, allocations: 3.938 kB / 442.8 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3164, allocations: 2.812 kB / 442.8 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.3166, allocations: 188 kB / 443 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3166, allocations: 0 / 443 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.823e-05/0.3167, allocations: 11.22 kB / 443 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3167, allocations: 3.281 kB / 443 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3167, allocations: 0 / 443 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3167, allocations: 2.844 kB / 443 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.3167, allocations: 4.438 kB / 443 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.3168, allocations: 167.7 kB / 443.2 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.3169, allocations: 81.02 kB / 443.3 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.3169, allocations: 2.844 kB / 443.3 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.023e-05/0.3169, allocations: 7.234 kB / 443.3 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.317, allocations: 6.719 kB / 443.3 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.317, allocations: 0 / 443.3 MB, free: 35.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.461e-05/0.317, allocations: 88 kB / 443.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.317, allocations: 4 kB / 443.4 MB, free: 35.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.3172, allocations: 22.78 kB / 443.4 MB, free: 35.27 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.383e-05/0.3173, allocations: 91.97 kB / 443.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.3174, allocations: 46.95 kB / 443.5 MB, free: 35.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3174, allocations: 0 / 443.5 MB, free: 35.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.716e-05/0.3175, allocations: 30.64 kB / 443.6 MB, free: 35.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.3177, allocations: 6.688 kB / 443.6 MB, free: 35.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.3181, allocations: 223.1 kB / 443.8 MB, free: 34.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.3182, allocations: 0.6899 MB / 444.5 MB, free: 34.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.044e-05/0.3183, allocations: 10.09 kB / 444.5 MB, free: 34.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.3183, allocations: 10.25 kB / 444.5 MB, free: 34.26 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.3183, allocations: 0 / 444.5 MB, free: 34.26 MB / 350.1 MB Notification: Performance of Templates: time 0.002334/0.3206, allocations: 465.8 kB / 445 MB, free: 34.2 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)