Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002591/0.002591, allocations: 84.98 kB / 20.23 MB, free: 4.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00317/0.00317, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1173/0.1173, allocations: 18.14 MB / 278.5 MB, free: 11.31 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a") translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 357.3 MB, free: 7.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.691e-05, allocations: 2.312 kB / 357.3 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.004132/0.004159, allocations: 2.218 MB / 359.5 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005082/0.004667, allocations: 171.4 kB / 359.7 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.004777, allocations: 4 kB / 359.7 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.851e-05/0.004865, allocations: 31.64 kB / 359.8 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.005065, allocations: 63.42 kB / 359.8 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.005239, allocations: 47.92 kB / 359.9 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.005567, allocations: 254.7 kB / 360.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.005765, allocations: 72.02 kB / 360.2 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.005899, allocations: 79.83 kB / 360.3 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.006075, allocations: 79.77 kB / 360.3 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/0.006117, allocations: 20 kB / 360.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.489e-05/0.006162, allocations: 24 kB / 360.4 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.00621, allocations: 47.83 kB / 360.4 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.006321, allocations: 83.81 kB / 360.5 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.006649, allocations: 247.1 kB / 360.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.006652, allocations: 0 / 360.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006653, allocations: 0 / 360.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.006658, allocations: 0 / 360.7 MB, free: 3.938 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008035/0.007462, allocations: 0.5194 MB / 361.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.007506, allocations: 16.91 kB / 361.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.846e-05/0.007594, allocations: 44.8 kB / 361.3 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.007744, allocations: 136.3 kB / 361.5 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.007774, allocations: 20.88 kB / 361.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.007814, allocations: 20.38 kB / 361.5 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.008184, allocations: 196.7 kB / 361.7 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.008197, allocations: 192 / 361.7 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.008219, allocations: 8.375 kB / 361.7 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.008231, allocations: 12.36 kB / 361.7 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.008504, allocations: 137.9 kB / 361.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.009622, allocations: 0.639 MB / 362.5 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.01002, allocations: 174.1 kB / 362.7 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/0.01039, allocations: 146.8 kB / 362.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.01043, allocations: 4 kB / 362.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.01047, allocations: 37.39 kB / 362.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.01047, allocations: 0 / 362.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.001944/0.01241, allocations: 0.5003 MB / 363.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.01246, allocations: 55.41 kB / 363.4 MB, free: 1.137 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.01264, allocations: 205.8 kB / 363.6 MB, free: 0.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.01266, allocations: 25.7 kB / 363.6 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.01281, allocations: 199 kB / 363.8 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.755e-05/0.01287, allocations: 71.53 kB / 363.9 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.092e-05/0.01295, allocations: 51.36 kB / 363.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002596/0.01321, allocations: 0.5 MB / 364.4 MB, free: 48 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/0.0133, allocations: 43.98 kB / 364.5 MB, free: 4 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.01345, allocations: 95.31 kB / 364.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.0137, allocations: 157.1 kB / 364.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.01371, allocations: 3.984 kB / 364.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007681/0.01448, allocations: 332.5 kB / 365.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.01449, allocations: 4 kB / 365.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.0145, allocations: 0 / 365.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009605/0.01546, allocations: 231.1 kB / 365.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.01556, allocations: 23.98 kB / 365.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005257/0.02081, allocations: 4.755 MB / 370.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.076e-05/0.02091, allocations: 11.89 kB / 370.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.02092, allocations: 8 kB / 370.1 MB, free: 10.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (11): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.02109, allocations: 176.6 kB / 370.3 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.02113, allocations: 19.95 kB / 370.3 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007648/0.0219, allocations: 300.5 kB / 370.6 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.0219, allocations: 8 kB / 370.6 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.0219, allocations: 0 / 370.6 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.02191, allocations: 0 / 370.6 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.02223, allocations: 224.5 kB / 370.8 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02223, allocations: 0 / 370.8 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.0223, allocations: 15.94 kB / 370.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009586/0.02326, allocations: 227.5 kB / 371 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.02327, allocations: 8 kB / 371 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005072/0.02835, allocations: 4.732 MB / 375.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02835, allocations: 0 / 375.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000822/0.02917, allocations: 450.8 kB / 376.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.02919, allocations: 7.953 kB / 376.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.02921, allocations: 4 kB / 376.2 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/0.02929, allocations: 4 kB / 376.2 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.02934, allocations: 19.91 kB / 376.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.02935, allocations: 4 kB / 376.2 MB, free: 3.598 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.02945, allocations: 150.5 kB / 376.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02945, allocations: 0 / 376.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005277/0.02998, allocations: 83.78 kB / 376.5 MB, free: 3.371 MB / 298.7 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001302/0.03011, allocations: 99.25 kB / 376.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008358/0.03095, allocations: 0.5328 MB / 377.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03095, allocations: 0 / 377.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006258/0.03158, allocations: 485.4 kB / 377.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.03185, allocations: 19.98 kB / 377.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.03313, allocations: 450.7 kB / 378 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.03327, allocations: 128.1 kB / 378.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.281e-05/0.03331, allocations: 5.5 kB / 378.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.03333, allocations: 12.5 kB / 378.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.03333, allocations: 0 / 378.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of Templates: time 0.007422/0.04076, allocations: 2.8 MB / 381 MB, free: 14.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8048253019806]