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.001205/0.001205, allocations: 110.2 kB / 15.99 MB, free: 5.906 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.001216/0.001216, allocations: 190.8 kB / 16.91 MB, free: 5.754 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.213/1.213, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0843/0.0843, allocations: 22.32 MB / 313.1 MB, free: 9.109 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 65.55 kB / 380.9 MB, free: 41.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07672/0.07796, allocations: 54.96 MB / 435.9 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002679/0.08067, allocations: 1.743 MB / 437.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001939/0.08088, allocations: 51.81 kB / 437.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.08094, allocations: 4 kB / 437.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.998e-05/0.08099, allocations: 11.86 kB / 437.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.08113, allocations: 19.84 kB / 437.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.216e-05/0.08119, allocations: 15.98 kB / 437.7 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.816e-05/0.08129, allocations: 75.73 kB / 437.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.08143, allocations: 40.14 kB / 437.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.08148, allocations: 31.86 kB / 437.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.778e-05/0.08157, allocations: 35.84 kB / 437.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.08159, allocations: 8 kB / 437.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.615e-05/0.08162, allocations: 8 kB / 437.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.08164, allocations: 15.94 kB / 437.9 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.08169, allocations: 35.86 kB / 438 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.809e-05/0.08178, allocations: 60.11 kB / 438 MB, free: 11.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.08179, allocations: 3.938 kB / 438 MB, free: 11.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.0818, allocations: 0 / 438 MB, free: 11.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.08181, allocations: 0 / 438 MB, free: 11.32 MB / 318.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.0003674/0.08218, allocations: 379.5 kB / 438.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.08222, allocations: 8.031 kB / 438.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.08225, allocations: 8.844 kB / 438.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.08236, allocations: 176.2 kB / 438.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.08238, allocations: 8.562 kB / 438.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.0824, allocations: 4.375 kB / 438.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.08256, allocations: 101.9 kB / 438.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.08258, allocations: 0 / 438.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.08259, allocations: 4 kB / 438.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.0826, allocations: 0 / 438.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.428e-05/0.08269, allocations: 47.98 kB / 438.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.08322, allocations: 457.7 kB / 439.2 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.988e-05/0.08332, allocations: 54.56 kB / 439.2 MB, free: 9.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.08336, allocations: 16.92 kB / 439.3 MB, free: 9.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.08338, allocations: 4 kB / 439.3 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.08341, allocations: 38.56 kB / 439.3 MB, free: 9.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.08342, allocations: 0 / 439.3 MB, free: 9.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001701/0.08359, allocations: 81.58 kB / 439.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.08363, allocations: 55.34 kB / 439.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.591e-05/0.0837, allocations: 105.8 kB / 439.5 MB, free: 9.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.08372, allocations: 29.7 kB / 439.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.08377, allocations: 108 kB / 439.7 MB, free: 9.445 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.0838, allocations: 19.8 kB / 439.7 MB, free: 9.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.08383, allocations: 21.72 kB / 439.7 MB, free: 9.398 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.22e-05/0.08392, allocations: 318.8 kB / 440 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/0.08396, allocations: 15.98 kB / 440 MB, free: 9.062 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.396e-05/0.084, allocations: 42.44 kB / 440.1 MB, free: 9.012 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.611e-05/0.08408, allocations: 46.58 kB / 440.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.08408, allocations: 4 kB / 440.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001132/0.0842, allocations: 85.53 kB / 440.2 MB, free: 8.863 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.08422, allocations: 6.188 kB / 440.2 MB, free: 8.859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.08423, allocations: 4 kB / 440.2 MB, free: 8.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.08424, allocations: 0 / 440.2 MB, free: 8.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.632e-05/0.08435, allocations: 27.86 kB / 440.3 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.08436, allocations: 3.938 kB / 440.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.08441, allocations: 3.938 kB / 440.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.08442, allocations: 4 kB / 440.3 MB, free: 8.816 MB / 318.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.594e-05/0.0845, allocations: 125.8 kB / 440.4 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.08453, allocations: 11.89 kB / 440.4 MB, free: 8.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.08466, allocations: 77.97 kB / 440.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.08467, allocations: 4 kB / 440.5 MB, free: 8.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.08468, allocations: 3.938 kB / 440.5 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.08469, allocations: 0 / 440.5 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.08486, allocations: 185.6 kB / 440.7 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.08486, allocations: 0 / 440.7 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-05/0.08493, allocations: 19.98 kB / 440.7 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.08494, allocations: 0 / 440.7 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.08495, allocations: 0 / 440.7 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.706e-06/0.08496, allocations: 4 kB / 440.7 MB, free: 8.332 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.08497, allocations: 3.938 kB / 440.7 MB, free: 8.328 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.08509, allocations: 167.9 kB / 440.9 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.08513, allocations: 81.11 kB / 440.9 MB, free: 8.051 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.08516, allocations: 4 kB / 440.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.904e-05/0.08522, allocations: 7.984 kB / 440.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.08524, allocations: 7.938 kB / 441 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.08525, allocations: 4 kB / 441 MB, free: 8.027 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.348e-05/0.08529, allocations: 83.28 kB / 441 MB, free: 7.945 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08529, allocations: 0 / 441 MB, free: 7.945 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.08553, allocations: 19.84 kB / 441.1 MB, free: 7.926 MB / 318.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 8.104e-05/0.08561, allocations: 106.7 kB / 441.2 MB, free: 7.812 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.08573, allocations: 56.2 kB / 441.2 MB, free: 7.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.08574, allocations: 0 / 441.2 MB, free: 7.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.726e-05/0.08577, allocations: 16 kB / 441.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.08603, allocations: 10.67 kB / 441.2 MB, free: 7.734 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.08638, allocations: 232.3 kB / 441.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.08659, allocations: 0.6892 MB / 442.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.08663, allocations: 15.61 kB / 442.2 MB, free: 6.746 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.08663, allocations: 0 / 442.2 MB, free: 6.746 MB / 318.1 MB Notification: Performance of Templates: time 0.001755/0.08839, allocations: 0.8094 MB / 443 MB, free: 5.934 MB / 318.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)