Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_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.Heater_control_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 113.5 kB / 16.42 MB, free: 6.504 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.001065/0.001066, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.338/1.338, allocations: 222.9 MB / 241 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.09508/0.09508, allocations: 22.32 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.89 kB / 437.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08534/0.08657, allocations: 54.95 MB / 492.7 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.004958/0.09156, allocations: 4.388 MB / 497.1 MB, free: 376 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.09375, allocations: 1.267 MB / 498.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.09411, allocations: 11.94 kB / 498.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.09451, allocations: 166.6 kB / 498.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007455/0.09526, allocations: 449.5 kB / 498.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007278/0.096, allocations: 311.5 kB / 499.2 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.09791, allocations: 2.15 MB / 0.4896 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.09959, allocations: 1.598 MB / 0.4912 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009538/0.1006, allocations: 0.8262 MB / 0.492 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.1018, allocations: 0.9854 MB / 0.493 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003859/0.1022, allocations: 236 kB / 0.4932 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000419/0.1027, allocations: 236 kB / 0.4934 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006048/0.1033, allocations: 0.6898 MB / 0.4941 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.1043, allocations: 0.93 MB / 0.495 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.1064, allocations: 2.583 MB / 0.4975 GB, free: 3.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1064, allocations: 0 / 0.4975 GB, free: 3.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1064, allocations: 4 kB / 0.4975 GB, free: 3.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.681e-05/0.1065, allocations: 0 / 0.4975 GB, free: 3.879 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004674/0.1112, allocations: 2.015 MB / 0.4995 GB, free: 1.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1112, allocations: 12.03 kB / 0.4995 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.1115, allocations: 143.2 kB / 0.4996 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.113, allocations: 0.8681 MB / 0.5005 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.393e-05/0.1131, allocations: 116.6 kB / 0.5006 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002435/0.1133, allocations: 140.2 kB / 0.5007 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1703/0.2837, allocations: 1.581 MB / 0.5023 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.2837, allocations: 3.812 kB / 0.5023 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.2839, allocations: 49.45 kB / 0.5023 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.2839, allocations: 31.19 kB / 0.5024 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.2859, allocations: 1.417 MB / 0.5037 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009008/0.2949, allocations: 7.108 MB / 0.5107 GB, free: 18.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004643/0.2996, allocations: 1.891 MB / 0.5125 GB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.3007, allocations: 0.7223 MB / 0.5132 GB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.799e-05/0.3007, allocations: 17.09 kB / 0.5133 GB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.3008, allocations: 44.64 kB / 0.5133 GB, free: 18.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 3.036e-06/0.3008, allocations: 0 / 0.5133 GB, free: 18.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=102): time 0.0064/0.3072, allocations: 3.938 MB / 0.5171 GB, free: 16.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.3072, allocations: 66.44 kB / 0.5172 GB, free: 16.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000866/0.3081, allocations: 0.6883 MB / 0.5179 GB, free: 15.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.788e-05/0.3082, allocations: 42.05 kB / 0.5179 GB, free: 15.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.3084, allocations: 0.5022 MB / 0.5184 GB, free: 15.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/0.3087, allocations: 410.2 kB / 0.5188 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004465/0.3092, allocations: 244.4 kB / 0.519 GB, free: 15.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3093, allocations: 409.4 kB / 0.5194 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.3106, allocations: 0.8448 MB / 0.5203 GB, free: 14.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.3119, allocations: 1.007 MB / 0.5212 GB, free: 13.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/0.3243, allocations: 4.445 MB / 0.5256 GB, free: 12.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.3243, allocations: 5.25 kB / 0.5256 GB, free: 12.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004051/0.3284, allocations: 2.472 MB / 0.528 GB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3284, allocations: 7.375 kB / 0.528 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3285, allocations: 8.281 kB / 0.528 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/0.3301, allocations: 0.5392 MB / 0.5285 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.3319, allocations: 394.7 kB / 0.5289 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/0.3458, allocations: 23.05 MB / 0.5514 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.3469, allocations: 141.2 kB / 0.5516 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.347, allocations: 50.7 kB / 0.5516 GB, free: 3.059 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: CH.Ec:VARIABLE(flow=false fixed = true ) type: Real CH.Tfo:VARIABLE(min = 0.0 start = CH.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000706/0.3477, allocations: 431.7 kB / 0.552 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.3479, allocations: 91.03 kB / 0.5521 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/0.3514, allocations: 1.975 MB / 0.554 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.3515, allocations: 3.984 kB / 0.554 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3515, allocations: 0 / 0.554 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.3517, allocations: 195.7 kB / 0.5542 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/0.3519, allocations: 55.97 kB / 0.5543 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007301/0.3526, allocations: 51.94 kB / 0.5543 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/0.3528, allocations: 92.78 kB / 0.5544 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007977/0.3608, allocations: 3.053 MB / 0.5574 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003828/0.3646, allocations: 2.782 MB / 0.5601 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001213/0.3659, allocations: 0.894 MB / 0.561 GB, free: 10 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005624/0.3664, allocations: 479 kB / 0.5614 GB, free: 9.531 MB / 414.1 MB Notification: Performance of Backend: time 4.91e-07/0.3664, allocations: 0 / 0.5614 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003703/0.3702, allocations: 2.934 MB / 0.5643 GB, free: 6.402 MB / 414.1 MB Notification: Performance of SimCode: time 0.006022/0.3762, allocations: 5.159 MB / 0.5693 GB, free: 1.234 MB / 414.1 MB Notification: Performance of Templates: time 0.03402/0.4102, allocations: 24.19 MB / 0.593 GB, free: 9.215 MB / 446.1 MB make -j1 -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.makefile (rm -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.sim & ./AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe 2>&1)