Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_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_Generation.HP_heater_DaisyChain_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001") translateModel(AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 110.9 kB / 16.41 MB, free: 6.523 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.001797/0.001797, allocations: 190.7 kB / 17.35 MB, free: 5.727 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.365/1.365, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09621/0.09621, allocations: 22.33 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 437.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08836/0.08962, allocations: 54.95 MB / 492.7 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001): time 0.007003/0.09666, allocations: 6.766 MB / 499.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.1001, allocations: 1.938 MB / 0.4896 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007322/0.1009, allocations: 31.81 kB / 0.4897 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.1016, allocations: 317.4 kB / 0.49 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.1031, allocations: 0.808 MB / 0.4908 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.1043, allocations: 0.55 MB / 0.4913 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003805/0.1082, allocations: 4.059 MB / 0.4953 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003498/0.1117, allocations: 3.13 MB / 0.4983 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.1137, allocations: 1.571 MB / 0.4998 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.19/0.3038, allocations: 1.913 MB / 0.5017 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009637/0.3047, allocations: 459.9 kB / 0.5022 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000724/0.3055, allocations: 458.5 kB / 0.5026 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008724/0.3064, allocations: 1.337 MB / 0.5039 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.3079, allocations: 1.751 MB / 0.5056 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004271/0.3122, allocations: 5.001 MB / 0.5105 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3122, allocations: 0 / 0.5105 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3122, allocations: 0 / 0.5105 GB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.074e-05/0.3123, allocations: 0 / 0.5105 GB, free: 10 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.008409/0.3207, allocations: 3.636 MB / 0.514 GB, free: 8.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3207, allocations: 12.09 kB / 0.5141 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005576/0.3213, allocations: 285 kB / 0.5143 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/0.3235, allocations: 1.507 MB / 0.5158 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.3236, allocations: 160.7 kB / 0.5159 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004714/0.3241, allocations: 254.7 kB / 0.5162 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005079/0.3292, allocations: 3.036 MB / 0.5192 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.3293, allocations: 5.531 kB / 0.5192 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002802/0.3295, allocations: 85.62 kB / 0.5192 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.3296, allocations: 51.38 kB / 0.5193 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00431/0.3339, allocations: 2.801 MB / 0.522 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0174/0.3513, allocations: 13.56 MB / 0.5353 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009851/0.3612, allocations: 4.219 MB / 0.5394 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/0.3633, allocations: 1.548 MB / 0.5409 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.3635, allocations: 31.81 kB / 0.5409 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.3635, allocations: 60.17 kB / 0.541 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008904/0.3644, allocations: 167.3 kB / 0.5411 GB, free: 10.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=212): time 4.158e-06/0.3644, allocations: 6.062 kB / 0.5412 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=212): time 0.01486/0.3793, allocations: 7.914 MB / 0.5489 GB, free: 3.031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.3794, allocations: 73.41 kB / 0.549 GB, free: 2.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.3809, allocations: 1.088 MB / 0.55 GB, free: 1.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.3811, allocations: 61.7 kB / 0.5501 GB, free: 1.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005784/0.3817, allocations: 0.8337 MB / 0.5509 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008649/0.3826, allocations: 0.865 MB / 0.5517 GB, free: 84 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000922/0.3835, allocations: 433.2 kB / 0.5521 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.3836, allocations: 301.1 kB / 0.5524 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002543/0.3861, allocations: 1.574 MB / 0.554 GB, free: 13.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/0.3889, allocations: 1.861 MB / 0.5558 GB, free: 11.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005216/0.3941, allocations: 3.553 MB / 0.5593 GB, free: 8.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.3941, allocations: 4 kB / 0.5593 GB, free: 8.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.009321/0.4035, allocations: 4.87 MB / 0.564 GB, free: 3.277 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.4035, allocations: 8 kB / 0.564 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.4035, allocations: 4 kB / 0.564 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004001/0.4075, allocations: 1.148 MB / 0.5651 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003547/0.4111, allocations: 0.7381 MB / 0.5659 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03242/0.4435, allocations: 41.5 MB / 0.6064 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/0.4464, allocations: 136 kB / 0.6065 GB, free: 4.199 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006277/0.4471, allocations: 87.97 kB / 0.6066 GB, free: 4.113 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (284): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 26 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 25 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001757/0.4488, allocations: 0.6653 MB / 0.6073 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005613/0.4494, allocations: 170.9 kB / 0.6074 GB, free: 3.297 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008371/0.4578, allocations: 4.174 MB / 0.6115 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.322e-05/0.4578, allocations: 15.95 kB / 0.6115 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4578, allocations: 0 / 0.6115 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000513/0.4583, allocations: 264 kB / 0.6118 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005081/0.4589, allocations: 119.9 kB / 0.6119 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/0.4604, allocations: 99.86 kB / 0.612 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004582/0.4609, allocations: 197.2 kB / 0.6122 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01645/0.4773, allocations: 6.202 MB / 0.6182 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008139/0.4855, allocations: 5.632 MB / 0.6237 GB, free: 2.477 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002469/0.488, allocations: 1.874 MB / 0.6255 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001048/0.489, allocations: 0.7473 MB / 0.6263 GB, free: 15.85 MB / 494.1 MB Notification: Performance of Backend: time 5.41e-07/0.489, allocations: 0 / 0.6263 GB, free: 15.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007338/0.4964, allocations: 5.432 MB / 0.6316 GB, free: 10.11 MB / 494.1 MB Notification: Performance of SimCode: time 0.01225/0.5086, allocations: 9.537 MB / 0.6409 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of Templates: time 0.07002/0.5787, allocations: 48.43 MB / 0.6882 GB, free: 0.5195 MB / 0.5294 GB make -j1 -f AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001.sim & ./AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001.pipe 2>&1)