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.001096/0.001096, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 196.2 kB / 16.79 MB, free: 6.809 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.312/1.312, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1958/0.1958, allocations: 22.34 MB / 313 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 55.91 kB / 380.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2501, allocations: 54.94 MB / 435.7 MB, free: 39.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002973/0.2531, allocations: 1.742 MB / 437.4 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002219/0.2533, allocations: 55.27 kB / 437.5 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.2534, allocations: 0 / 437.5 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.153e-05/0.2535, allocations: 14.17 kB / 437.5 MB, free: 38.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.2536, allocations: 22.08 kB / 437.5 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.279e-05/0.2537, allocations: 11.23 kB / 437.5 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.082e-05/0.2538, allocations: 76.16 kB / 437.6 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.2539, allocations: 36.42 kB / 437.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.661e-05/0.254, allocations: 30.09 kB / 437.7 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.254, allocations: 34.23 kB / 437.7 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.2541, allocations: 5.062 kB / 437.7 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.662e-05/0.2541, allocations: 5.125 kB / 437.7 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.2541, allocations: 13.86 kB / 437.7 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.2542, allocations: 37.28 kB / 437.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.953e-05/0.2542, allocations: 63.62 kB / 437.8 MB, free: 38.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2543, allocations: 0 / 437.8 MB, free: 38.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.2543, allocations: 0 / 437.8 MB, free: 38.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.2543, allocations: 0 / 437.8 MB, free: 38.27 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.000383/0.2547, allocations: 370.7 kB / 438.2 MB, free: 37.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2547, allocations: 12.56 kB / 438.2 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.2548, allocations: 10.84 kB / 438.2 MB, free: 37.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.038e-05/0.2548, allocations: 175.1 kB / 438.4 MB, free: 37.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.2549, allocations: 7.656 kB / 438.4 MB, free: 37.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.2549, allocations: 10.06 kB / 438.4 MB, free: 37.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.255, allocations: 98.52 kB / 438.5 MB, free: 37.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2551, allocations: 7.922 kB / 438.5 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.2551, allocations: 4 kB / 438.5 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.2551, allocations: 6.875 kB / 438.5 MB, free: 37.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.577e-05/0.2552, allocations: 47.08 kB / 438.6 MB, free: 37.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.2557, allocations: 443.5 kB / 439 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.67e-05/0.2558, allocations: 64.33 kB / 439.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.2559, allocations: 20.62 kB / 439.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.2559, allocations: 7.047 kB / 439.1 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.2559, allocations: 34.5 kB / 439.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.2559, allocations: 0 / 439.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001831/0.2561, allocations: 76.47 kB / 439.2 MB, free: 37.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.2561, allocations: 58.58 kB / 439.3 MB, free: 36.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.862e-05/0.2562, allocations: 107.7 kB / 439.4 MB, free: 36.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.2562, allocations: 29.7 kB / 439.4 MB, free: 36.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.2563, allocations: 106.2 kB / 439.5 MB, free: 36.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.2563, allocations: 18.69 kB / 439.5 MB, free: 36.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.2563, allocations: 22.75 kB / 439.5 MB, free: 36.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.391e-05/0.2564, allocations: 314.8 kB / 439.8 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/0.2564, allocations: 15.95 kB / 439.9 MB, free: 36.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.592e-05/0.2564, allocations: 37.23 kB / 439.9 MB, free: 36.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.263e-05/0.2565, allocations: 54.95 kB / 439.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2565, allocations: 0 / 439.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001014/0.2566, allocations: 81.52 kB / 440 MB, free: 36.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2566, allocations: 7.469 kB / 440 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2567, allocations: 2.938 kB / 440 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2567, allocations: 3.938 kB / 440 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.2568, allocations: 24.8 kB / 440.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2568, allocations: 6.656 kB / 440.1 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.2569, allocations: 2.812 kB / 440.1 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.2569, allocations: 2.656 kB / 440.1 MB, free: 36.2 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 5.373e-05/0.2569, allocations: 120.6 kB / 440.2 MB, free: 36.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.257, allocations: 6.594 kB / 440.2 MB, free: 36.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.2571, allocations: 86.52 kB / 440.3 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.2571, allocations: 2.656 kB / 440.3 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2571, allocations: 7.938 kB / 440.3 MB, free: 36.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2571, allocations: 0 / 440.3 MB, free: 36.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.2573, allocations: 183.5 kB / 440.5 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2573, allocations: 0.5 kB / 440.5 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.411e-05/0.2573, allocations: 22.62 kB / 440.5 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2573, allocations: 2.625 kB / 440.5 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.2574, allocations: 0 / 440.5 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2574, allocations: 4 kB / 440.5 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2574, allocations: 3.938 kB / 440.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.2575, allocations: 175.2 kB / 440.7 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.2575, allocations: 82.95 kB / 440.8 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.2575, allocations: 2.906 kB / 440.8 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.2576, allocations: 4 kB / 440.8 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.2576, allocations: 6.875 kB / 440.8 MB, free: 35.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2576, allocations: 0 / 440.8 MB, free: 35.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.426e-05/0.2576, allocations: 88.59 kB / 440.9 MB, free: 35.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2577, allocations: 0 / 440.9 MB, free: 35.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.2579, allocations: 25.31 kB / 440.9 MB, free: 35.44 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 6.88e-05/0.258, allocations: 92.16 kB / 441 MB, free: 35.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.2581, allocations: 47.67 kB / 441 MB, free: 35.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2581, allocations: 0 / 441 MB, free: 35.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.562e-05/0.2581, allocations: 19.38 kB / 441 MB, free: 35.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.2584, allocations: 7.438 kB / 441 MB, free: 35.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.2587, allocations: 235.4 kB / 441.3 MB, free: 35.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.2589, allocations: 0.6947 MB / 442 MB, free: 34.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.2589, allocations: 9.75 kB / 442 MB, free: 34.41 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2589, allocations: 0 / 442 MB, free: 34.41 MB / 350.1 MB Notification: Performance of Templates: time 0.001734/0.2606, allocations: 0.8149 MB / 442.8 MB, free: 34.35 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)