Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.HP_test_case_003.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_test_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.HP_test_case_003") translateModel(AES.Coursework.ThermSys_Generation.HP_test_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.HP_test_case_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 113.1 kB / 16.42 MB, free: 6.477 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.001726/0.001727, allocations: 187.9 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.499/1.499, allocations: 222.9 MB / 241 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.09484/0.09484, allocations: 22.33 MB / 313.5 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.89 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09143/0.09271, allocations: 54.95 MB / 492.7 MB, free: 4.746 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.HP_test_case_003): time 0.3782/0.4709, allocations: 25.31 MB / 0.5058 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.4741, allocations: 1.636 MB / 0.5074 GB, free: 4.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004524/0.4746, allocations: 17.38 kB / 0.5075 GB, free: 4.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.475, allocations: 240.9 kB / 0.5077 GB, free: 4.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008378/0.4759, allocations: 0.6274 MB / 0.5083 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009454/0.4769, allocations: 437.7 kB / 0.5087 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003053/0.4799, allocations: 3.071 MB / 0.5117 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002714/0.4826, allocations: 2.287 MB / 0.514 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.4842, allocations: 1.21 MB / 0.5151 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.4863, allocations: 1.511 MB / 0.5166 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005021/0.4868, allocations: 356.3 kB / 0.517 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006707/0.4875, allocations: 358.4 kB / 0.5173 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009521/0.4885, allocations: 1.016 MB / 0.5183 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.4899, allocations: 1.341 MB / 0.5196 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002896/0.4928, allocations: 3.856 MB / 0.5234 GB, free: 364 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4928, allocations: 1.125 kB / 0.5234 GB, free: 364 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4928, allocations: 0 / 0.5234 GB, free: 364 kB / 382.1 MB Notification: Performance of Transformations before backend: time 3.266e-05/0.4928, allocations: 0 / 0.5234 GB, free: 364 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.006529/0.4994, allocations: 2.88 MB / 0.5262 GB, free: 14.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.4994, allocations: 8.688 kB / 0.5262 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004155/0.4998, allocations: 220.7 kB / 0.5264 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.5016, allocations: 1.205 MB / 0.5276 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.038e-05/0.5017, allocations: 116.9 kB / 0.5277 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003527/0.5021, allocations: 187.4 kB / 0.5279 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004059/0.5062, allocations: 2.343 MB / 0.5301 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.5062, allocations: 0 / 0.5301 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/0.5064, allocations: 61.47 kB / 0.5302 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/0.5065, allocations: 37.78 kB / 0.5302 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003773/0.5102, allocations: 2.223 MB / 0.5324 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0152/0.5255, allocations: 10.59 MB / 0.5428 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007863/0.5333, allocations: 3.318 MB / 0.546 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.5351, allocations: 1.263 MB / 0.5472 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.5352, allocations: 29.95 kB / 0.5473 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.5352, allocations: 47.97 kB / 0.5473 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008722/0.5361, allocations: 164.2 kB / 0.5475 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=169): time 3.576e-06/0.5361, allocations: 0 / 0.5475 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=169): time 0.01476/0.5509, allocations: 7.105 MB / 0.5544 GB, free: 10.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.551, allocations: 67.78 kB / 0.5545 GB, free: 10.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.552, allocations: 0.8532 MB / 0.5553 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.5522, allocations: 53.02 kB / 0.5553 GB, free: 10.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.5526, allocations: 0.6287 MB / 0.556 GB, free: 9.773 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006208/0.5532, allocations: 0.6842 MB / 0.5566 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005984/0.5538, allocations: 330.3 kB / 0.5569 GB, free: 9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5539, allocations: 305.1 kB / 0.5572 GB, free: 8.699 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.5557, allocations: 1.231 MB / 0.5584 GB, free: 8.062 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.5576, allocations: 1.415 MB / 0.5598 GB, free: 7.273 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003654/0.5612, allocations: 2.734 MB / 0.5625 GB, free: 5.793 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.5613, allocations: 3.5 kB / 0.5625 GB, free: 5.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=245) (initialization): time 0.007863/0.5691, allocations: 4.053 MB / 0.5664 GB, free: 2.098 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5692, allocations: 4 kB / 0.5664 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.5692, allocations: 7.984 kB / 0.5665 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004385/0.5736, allocations: 1.283 MB / 0.5677 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/0.5757, allocations: 475.4 kB / 0.5682 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0322/0.608, allocations: 37.26 MB / 0.6045 GB, free: 7.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.6098, allocations: 91.92 kB / 0.6046 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.61, allocations: 63.98 kB / 0.6047 GB, free: 7.711 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (193): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (9,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0009946/0.611, allocations: 0.5255 MB / 0.6052 GB, free: 7.176 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.6113, allocations: 139.2 kB / 0.6053 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007042/0.6183, allocations: 3.61 MB / 0.6089 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.6184, allocations: 8.156 kB / 0.6089 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6184, allocations: 0 / 0.6089 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.6187, allocations: 224.2 kB / 0.6091 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003246/0.619, allocations: 103.8 kB / 0.6092 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.6201, allocations: 75.89 kB / 0.6093 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/0.6205, allocations: 169.7 kB / 0.6094 GB, free: 2.766 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01233/0.6328, allocations: 5.037 MB / 0.6143 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00638/0.6392, allocations: 4.448 MB / 0.6187 GB, free: 9.23 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001928/0.6411, allocations: 1.456 MB / 0.6201 GB, free: 7.777 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007927/0.6419, allocations: 0.5927 MB / 0.6207 GB, free: 7.18 MB / 478.1 MB Notification: Performance of Backend: time 4.2e-07/0.6419, allocations: 4 kB / 0.6207 GB, free: 7.176 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006634/0.6486, allocations: 4.662 MB / 0.6252 GB, free: 2.23 MB / 478.1 MB Notification: Performance of SimCode: time 0.009831/0.6584, allocations: 7.601 MB / 0.6327 GB, free: 10.59 MB / 494.1 MB Notification: Performance of Templates: time 0.05988/0.7183, allocations: 40.24 MB / 0.672 GB, free: 2.551 MB / 0.5138 GB make -j1 -f AES_AES.Coursework.ThermSys_Generation.HP_test_case_003.makefile (rm -f AES_AES.Coursework.ThermSys_Generation.HP_test_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.HP_test_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.HP_test_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.HP_test_case_003.sim & ./AES_AES.Coursework.ThermSys_Generation.HP_test_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.HP_test_case_003.pipe 2>&1)