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.001524/0.001524, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001683/0.001683, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09279/0.09279, allocations: 22.33 MB / 313.5 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.91 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.086/0.08731, allocations: 54.96 MB / 492.7 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002463/0.0898, allocations: 1.683 MB / 494.4 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001802/0.08999, allocations: 59.8 kB / 494.4 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.09005, allocations: 4 kB / 494.4 MB, free: 3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.0901, allocations: 11.86 kB / 494.4 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.09023, allocations: 19.84 kB / 494.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.889e-05/0.09028, allocations: 15.98 kB / 494.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.09039, allocations: 87.64 kB / 494.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.09053, allocations: 36.16 kB / 494.6 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.689e-05/0.09058, allocations: 31.86 kB / 494.6 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.346e-05/0.09067, allocations: 31.86 kB / 494.7 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.09069, allocations: 8 kB / 494.7 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.09071, allocations: 4 kB / 494.7 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.09074, allocations: 19.92 kB / 494.7 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.09079, allocations: 43.78 kB / 494.7 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.09091, allocations: 75.66 kB / 494.8 MB, free: 2.617 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.09092, allocations: 4 kB / 494.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.09093, allocations: 0 / 494.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.09094, allocations: 0 / 494.8 MB, free: 2.613 MB / 366.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.0003928/0.09134, allocations: 379.4 kB / 495.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.09138, allocations: 8.031 kB / 495.2 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.09142, allocations: 8.891 kB / 495.2 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.09153, allocations: 176.2 kB / 495.4 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.09155, allocations: 8.562 kB / 495.4 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.09157, allocations: 4.375 kB / 495.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.09174, allocations: 93.97 kB / 495.5 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.09176, allocations: 0 / 495.5 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.09178, allocations: 11.98 kB / 495.5 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.09179, allocations: 0 / 495.5 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.09189, allocations: 55.91 kB / 495.5 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.09244, allocations: 449.8 kB / 496 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.625e-05/0.09255, allocations: 62.5 kB / 496 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.0926, allocations: 16.92 kB / 496.1 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.09262, allocations: 0 / 496.1 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.09265, allocations: 38.61 kB / 496.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.09265, allocations: 0 / 496.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001916/0.09285, allocations: 77.75 kB / 496.2 MB, free: 1.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.09288, allocations: 51.41 kB / 496.2 MB, free: 1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.358e-05/0.09296, allocations: 121.8 kB / 496.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.09298, allocations: 29.7 kB / 496.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.09304, allocations: 108.2 kB / 496.5 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.09306, allocations: 19.78 kB / 496.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.0931, allocations: 25.72 kB / 496.5 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.0932, allocations: 318.8 kB / 496.8 MB, free: 364 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.018e-05/0.09324, allocations: 12 kB / 496.8 MB, free: 352 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.339e-05/0.09328, allocations: 42.56 kB / 496.9 MB, free: 300 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.989e-05/0.09337, allocations: 54.5 kB / 496.9 MB, free: 236 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.09338, allocations: 0 / 496.9 MB, free: 236 kB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001194/0.0935, allocations: 89.56 kB / 497 MB, free: 140 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.09352, allocations: 10.33 kB / 497 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.09353, allocations: 0 / 497 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.09355, allocations: 4 kB / 497 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.09366, allocations: 16.06 kB / 497.1 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.09367, allocations: 11.88 kB / 497.1 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.09371, allocations: 0 / 497.1 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.09373, allocations: 4 kB / 497.1 MB, free: 96 kB / 366.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 8.967e-05/0.09382, allocations: 126.6 kB / 497.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.09385, allocations: 3.953 kB / 497.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.094, allocations: 74.06 kB / 497.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.09401, allocations: 0 / 497.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.09402, allocations: 7.984 kB / 497.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.09406, allocations: 92.92 kB / 497.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.09408, allocations: 0 / 497.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.885e-05/0.09414, allocations: 0 / 497.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.09416, allocations: 4 kB / 497.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000152/0.09432, allocations: 148.9 kB / 497.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000151/0.09448, allocations: 242.7 kB / 497.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.368e-05/0.09452, allocations: 28.11 kB / 497.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.675e-05/0.09457, allocations: 83.28 kB / 497.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of Backend: time 2.6e-07/0.09457, allocations: 3.938 kB / 497.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003245/0.0949, allocations: 102.4 kB / 498 MB, free: 15.13 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004158/0.09533, allocations: 0.6007 MB / 498.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of Templates: time 0.002399/0.09774, allocations: 0.5601 MB / 499.1 MB, free: 13.92 MB / 382.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)