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.001589/0.001589, allocations: 113.6 kB / 16.42 MB, free: 6.508 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.001906/0.001906, allocations: 183.9 kB / 17.34 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09527/0.09527, allocations: 22.33 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.89 kB / 437.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08636/0.08762, allocations: 54.95 MB / 492.7 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.005408/0.09307, allocations: 4.378 MB / 497.1 MB, free: 380 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.09546, allocations: 1.263 MB / 498.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004321/0.09592, allocations: 11.94 kB / 498.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004258/0.09636, allocations: 174.5 kB / 498.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008558/0.09724, allocations: 449.5 kB / 498.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007726/0.09802, allocations: 307.5 kB / 499.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001986/0.1, allocations: 2.15 MB / 0.4896 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.1016, allocations: 1.598 MB / 0.4912 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007767/0.1024, allocations: 0.8184 MB / 0.492 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.1035, allocations: 0.9854 MB / 0.493 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.1038, allocations: 239.9 kB / 0.4932 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.1041, allocations: 236 kB / 0.4934 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000537/0.1046, allocations: 0.6898 MB / 0.4941 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008237/0.1055, allocations: 0.9223 MB / 0.495 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.1075, allocations: 2.597 MB / 0.4975 GB, free: 3.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1075, allocations: 0 / 0.4975 GB, free: 3.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1075, allocations: 4 kB / 0.4975 GB, free: 3.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.1076, allocations: 3.938 kB / 0.4975 GB, free: 3.875 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.004205/0.1118, allocations: 2.057 MB / 0.4995 GB, free: 1.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1118, allocations: 8.031 kB / 0.4996 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/0.1121, allocations: 152 kB / 0.4997 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.1133, allocations: 0.8725 MB / 0.5006 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.681e-05/0.1135, allocations: 120.6 kB / 0.5007 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.1137, allocations: 132.3 kB / 0.5008 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1807/0.2944, allocations: 1.586 MB / 0.5023 GB, free: 21.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.2945, allocations: 3.75 kB / 0.5023 GB, free: 21.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.2947, allocations: 46.44 kB / 0.5024 GB, free: 21.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.2947, allocations: 26.94 kB / 0.5024 GB, free: 21.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.297, allocations: 1.418 MB / 0.5038 GB, free: 21.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009121/0.3061, allocations: 7.128 MB / 0.5108 GB, free: 18.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00469/0.3108, allocations: 1.889 MB / 0.5126 GB, free: 18.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.3119, allocations: 0.7246 MB / 0.5133 GB, free: 18.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.07e-05/0.312, allocations: 14.28 kB / 0.5133 GB, free: 18.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.312, allocations: 44.41 kB / 0.5134 GB, free: 18.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 4.288e-06/0.312, allocations: 5.172 kB / 0.5134 GB, free: 18.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=102): time 0.006599/0.3186, allocations: 3.942 MB / 0.5172 GB, free: 16.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.3187, allocations: 66.09 kB / 0.5173 GB, free: 16.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008717/0.3195, allocations: 0.6837 MB / 0.518 GB, free: 16.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.663e-05/0.3196, allocations: 49.08 kB / 0.518 GB, free: 16.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.3199, allocations: 0.5113 MB / 0.5185 GB, free: 15.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.3202, allocations: 435.5 kB / 0.5189 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004597/0.3207, allocations: 238.1 kB / 0.5191 GB, free: 15.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3208, allocations: 409.8 kB / 0.5195 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.3221, allocations: 0.8484 MB / 0.5204 GB, free: 14.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.3234, allocations: 1.001 MB / 0.5213 GB, free: 14.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01275/0.3362, allocations: 4.447 MB / 0.5257 GB, free: 12.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.3362, allocations: 2 kB / 0.5257 GB, free: 12.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004098/0.3403, allocations: 2.472 MB / 0.5281 GB, free: 11.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3403, allocations: 9.281 kB / 0.5281 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.3403, allocations: 4.969 kB / 0.5281 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.342, allocations: 0.5389 MB / 0.5286 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.3437, allocations: 399.6 kB / 0.529 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/0.358, allocations: 23.06 MB / 0.5515 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009957/0.359, allocations: 153.5 kB / 0.5517 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.3591, allocations: 52.73 kB / 0.5517 GB, free: 3.293 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.000696/0.3598, allocations: 421.1 kB / 0.5521 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.36, allocations: 96.64 kB / 0.5522 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003664/0.3637, allocations: 1.98 MB / 0.5542 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.3637, allocations: 7.984 kB / 0.5542 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3637, allocations: 0 / 0.5542 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.3639, allocations: 192.3 kB / 0.5544 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.3642, allocations: 63.97 kB / 0.5544 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/0.3649, allocations: 47.94 kB / 0.5545 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.3651, allocations: 84.8 kB / 0.5545 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008326/0.3735, allocations: 3.062 MB / 0.5575 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00399/0.3775, allocations: 2.792 MB / 0.5603 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001199/0.3787, allocations: 0.8901 MB / 0.5611 GB, free: 10.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006008/0.3793, allocations: 483 kB / 0.5616 GB, free: 9.762 MB / 414.1 MB Notification: Performance of Backend: time 5.31e-07/0.3793, allocations: 0 / 0.5616 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003789/0.3831, allocations: 2.942 MB / 0.5645 GB, free: 6.621 MB / 414.1 MB Notification: Performance of SimCode: time 0.006192/0.3893, allocations: 5.222 MB / 0.5696 GB, free: 1.379 MB / 414.1 MB Notification: Performance of Templates: time 0.03485/0.4242, allocations: 24.18 MB / 0.5932 GB, free: 9.367 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)