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.001576/0.001576, allocations: 109.9 kB / 16.41 MB, free: 5.977 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.001786/0.001786, allocations: 194.1 kB / 17.35 MB, free: 5.578 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.343/1.343, 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.09453/0.09453, allocations: 22.33 MB / 313.5 MB, free: 8.863 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.89 kB / 437.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08657/0.08782, allocations: 54.95 MB / 492.7 MB, free: 4.734 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.356/0.4438, allocations: 25.31 MB / 0.5059 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002564/0.4464, allocations: 1.639 MB / 0.5075 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.4467, allocations: 20.28 kB / 0.5075 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.4471, allocations: 240.3 kB / 0.5077 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007479/0.4478, allocations: 0.622 MB / 0.5083 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007372/0.4486, allocations: 439.6 kB / 0.5087 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00217/0.4508, allocations: 3.069 MB / 0.5117 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.4529, allocations: 2.278 MB / 0.514 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.4541, allocations: 1.212 MB / 0.5151 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.4558, allocations: 1.511 MB / 0.5166 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004204/0.4562, allocations: 355.7 kB / 0.5169 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005205/0.4567, allocations: 357.9 kB / 0.5173 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.4578, allocations: 1.019 MB / 0.5183 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.4593, allocations: 1.349 MB / 0.5196 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00274/0.462, allocations: 3.854 MB / 0.5234 GB, free: 340 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.462, allocations: 0 / 0.5234 GB, free: 340 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.462, allocations: 0 / 0.5234 GB, free: 340 kB / 382.1 MB Notification: Performance of Transformations before backend: time 2.935e-05/0.4621, allocations: 0 / 0.5234 GB, free: 340 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.006504/0.4686, allocations: 2.88 MB / 0.5262 GB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4686, allocations: 12.28 kB / 0.5262 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004337/0.4691, allocations: 221.1 kB / 0.5264 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.4709, allocations: 1.2 MB / 0.5276 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/0.471, allocations: 120.2 kB / 0.5277 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.4713, allocations: 183.3 kB / 0.5279 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/0.4752, allocations: 2.343 MB / 0.5301 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.4752, allocations: 0 / 0.5301 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/0.4754, allocations: 65.69 kB / 0.5302 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.4755, allocations: 38.09 kB / 0.5302 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003699/0.4792, allocations: 2.225 MB / 0.5324 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/0.4938, allocations: 10.59 MB / 0.5428 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007858/0.5017, allocations: 3.312 MB / 0.546 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00185/0.5036, allocations: 1.259 MB / 0.5472 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.5037, allocations: 25.31 kB / 0.5473 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.076e-05/0.5038, allocations: 53.95 kB / 0.5473 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009691/0.5048, allocations: 165.8 kB / 0.5475 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=169): time 4.087e-06/0.5048, allocations: 0 / 0.5475 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=169): time 0.01536/0.5202, allocations: 7.101 MB / 0.5544 GB, free: 10.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.5202, allocations: 75.06 kB / 0.5545 GB, free: 10.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.5214, allocations: 0.8506 MB / 0.5553 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002543/0.5217, allocations: 49.23 kB / 0.5553 GB, free: 10.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/0.5221, allocations: 0.6315 MB / 0.556 GB, free: 9.762 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007059/0.5228, allocations: 0.6807 MB / 0.5566 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005978/0.5234, allocations: 331.4 kB / 0.5569 GB, free: 8.996 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.5235, allocations: 305.1 kB / 0.5572 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.5253, allocations: 1.231 MB / 0.5584 GB, free: 8.059 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.5273, allocations: 1.407 MB / 0.5598 GB, free: 7.277 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003712/0.531, allocations: 2.738 MB / 0.5625 GB, free: 5.793 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.531, allocations: 0 / 0.5625 GB, free: 5.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=245) (initialization): time 0.00787/0.5389, allocations: 4.047 MB / 0.5664 GB, free: 2.074 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.5389, allocations: 8 kB / 0.5664 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.5389, allocations: 0 / 0.5664 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004305/0.5433, allocations: 1.301 MB / 0.5677 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/0.5455, allocations: 471.4 kB / 0.5682 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03065/0.5761, allocations: 37.27 MB / 0.6046 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.5781, allocations: 95.83 kB / 0.6047 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.5783, allocations: 63.98 kB / 0.6047 GB, free: 7.652 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.0009988/0.5793, allocations: 0.5216 MB / 0.6052 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.5796, allocations: 135.2 kB / 0.6053 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007131/0.5867, allocations: 3.61 MB / 0.6089 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/0.5867, allocations: 7.969 kB / 0.6089 GB, free: 3.293 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5867, allocations: 0 / 0.6089 GB, free: 3.293 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.5871, allocations: 224.2 kB / 0.6091 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003166/0.5874, allocations: 91.91 kB / 0.6092 GB, free: 2.965 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.5885, allocations: 83.89 kB / 0.6093 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003601/0.5888, allocations: 169.7 kB / 0.6094 GB, free: 2.719 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0127/0.6016, allocations: 5.028 MB / 0.6143 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006225/0.6078, allocations: 4.455 MB / 0.6187 GB, free: 9.184 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001922/0.6097, allocations: 1.452 MB / 0.6201 GB, free: 7.734 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007722/0.6105, allocations: 0.5966 MB / 0.6207 GB, free: 7.133 MB / 478.1 MB Notification: Performance of Backend: time 6.61e-07/0.6105, allocations: 0 / 0.6207 GB, free: 7.133 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006713/0.6172, allocations: 4.666 MB / 0.6252 GB, free: 2.184 MB / 478.1 MB Notification: Performance of SimCode: time 0.008813/0.6261, allocations: 7.594 MB / 0.6327 GB, free: 10.55 MB / 494.1 MB Notification: Performance of Templates: time 0.05369/0.6798, allocations: 40.25 MB / 0.672 GB, free: 2.5 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)