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.00108/0.00108, allocations: 112.3 kB / 16.42 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.001129/0.001129, 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09718/0.09718, allocations: 22.33 MB / 313.5 MB, free: 8.852 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.89 kB / 437.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09688/0.09823, allocations: 54.95 MB / 492.7 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001): time 0.008027/0.1063, allocations: 6.758 MB / 499.4 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.1104, allocations: 1.938 MB / 0.4896 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009589/0.1114, allocations: 27.81 kB / 0.4897 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009307/0.1123, allocations: 317.4 kB / 0.49 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.1146, allocations: 0.8119 MB / 0.4908 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.1163, allocations: 0.5422 MB / 0.4913 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004455/0.1207, allocations: 4.07 MB / 0.4953 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003972/0.1247, allocations: 3.126 MB / 0.4983 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.1271, allocations: 1.578 MB / 0.4999 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1978/0.3249, allocations: 1.901 MB / 0.5017 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.326, allocations: 456.2 kB / 0.5021 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007702/0.3268, allocations: 461.2 kB / 0.5026 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008947/0.3277, allocations: 1.338 MB / 0.5039 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001589/0.3293, allocations: 1.752 MB / 0.5056 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005527/0.3348, allocations: 5.004 MB / 0.5105 GB, free: 9.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3348, allocations: 0 / 0.5105 GB, free: 9.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3348, allocations: 0.75 kB / 0.5105 GB, free: 9.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000103/0.3349, allocations: 0 / 0.5105 GB, free: 9.98 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.008994/0.3439, allocations: 3.632 MB / 0.514 GB, free: 8.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.344, allocations: 12.59 kB / 0.5141 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/0.3446, allocations: 285.7 kB / 0.5143 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.347, allocations: 1.51 MB / 0.5158 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.3471, allocations: 159.4 kB / 0.516 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000506/0.3477, allocations: 254 kB / 0.5162 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005255/0.3529, allocations: 3.035 MB / 0.5192 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-05/0.353, allocations: 0 / 0.5192 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002723/0.3532, allocations: 85.34 kB / 0.5192 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.47e-05/0.3533, allocations: 52.44 kB / 0.5193 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004454/0.3578, allocations: 2.808 MB / 0.522 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01855/0.3763, allocations: 13.56 MB / 0.5353 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.3864, allocations: 4.214 MB / 0.5394 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002161/0.3886, allocations: 1.548 MB / 0.5409 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.3888, allocations: 31.53 kB / 0.5409 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.3888, allocations: 60.31 kB / 0.541 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001071/0.3899, allocations: 168 kB / 0.5411 GB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=212): time 6.061e-06/0.3899, allocations: 0 / 0.5411 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=212): time 0.0149/0.4048, allocations: 7.922 MB / 0.5489 GB, free: 2.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.4049, allocations: 73.41 kB / 0.549 GB, free: 2.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.4067, allocations: 1.088 MB / 0.55 GB, free: 1.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002374/0.4069, allocations: 57.7 kB / 0.5501 GB, free: 1.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005781/0.4075, allocations: 0.8383 MB / 0.5509 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009539/0.4085, allocations: 0.864 MB / 0.5517 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.4095, allocations: 433.2 kB / 0.5521 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.4096, allocations: 305.1 kB / 0.5524 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002659/0.4123, allocations: 1.567 MB / 0.554 GB, free: 13.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002838/0.4151, allocations: 1.868 MB / 0.5558 GB, free: 11.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005547/0.4207, allocations: 3.55 MB / 0.5593 GB, free: 8.125 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.4207, allocations: 1.562 kB / 0.5593 GB, free: 8.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.009608/0.4303, allocations: 4.865 MB / 0.564 GB, free: 3.199 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.4304, allocations: 8 kB / 0.564 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.4304, allocations: 12.03 kB / 0.564 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003941/0.4344, allocations: 1.152 MB / 0.5652 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/0.4381, allocations: 0.7304 MB / 0.5659 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03047/0.4685, allocations: 41.5 MB / 0.6064 GB, free: 4.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/0.4711, allocations: 131.9 kB / 0.6065 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006596/0.4718, allocations: 92.06 kB / 0.6066 GB, free: 4.027 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.001995/0.4738, allocations: 0.6585 MB / 0.6072 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007917/0.4746, allocations: 174.9 kB / 0.6074 GB, free: 3.215 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008805/0.4834, allocations: 4.184 MB / 0.6115 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/0.4835, allocations: 11.95 kB / 0.6115 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4835, allocations: 0 / 0.6115 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006433/0.4841, allocations: 260 kB / 0.6118 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006508/0.4848, allocations: 123.9 kB / 0.6119 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/0.4866, allocations: 99.88 kB / 0.612 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005392/0.4871, allocations: 189.7 kB / 0.6122 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01644/0.5036, allocations: 6.201 MB / 0.6182 GB, free: 8.051 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008425/0.512, allocations: 5.643 MB / 0.6237 GB, free: 2.387 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00243/0.5145, allocations: 1.87 MB / 0.6255 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001131/0.5156, allocations: 0.7434 MB / 0.6263 GB, free: 15.77 MB / 494.1 MB Notification: Performance of Backend: time 1.353e-06/0.5156, allocations: 0 / 0.6263 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007599/0.5232, allocations: 5.438 MB / 0.6316 GB, free: 10.02 MB / 494.1 MB Notification: Performance of SimCode: time 0.01318/0.5364, allocations: 9.526 MB / 0.6409 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of Templates: time 0.07448/0.611, allocations: 48.44 MB / 0.6882 GB, free: 440 kB / 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)