Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.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_component_models.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 118.8 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.001137/0.001137, 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.325/1.325, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09495/0.09495, allocations: 22.33 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.89 kB / 437.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09072/0.09204, allocations: 54.96 MB / 492.7 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim): time 0.005185/0.09726, allocations: 4.416 MB / 497.1 MB, free: 332 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.09955, allocations: 1.274 MB / 498.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004468/0.1, allocations: 15.88 kB / 498.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.1004, allocations: 170.6 kB / 498.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008764/0.1013, allocations: 453.4 kB / 499 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000783/0.1021, allocations: 319.5 kB / 499.3 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002212/0.1044, allocations: 2.169 MB / 0.4897 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002063/0.1064, allocations: 1.598 MB / 0.4913 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.1076, allocations: 0.8495 MB / 0.4921 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.1093, allocations: 0.9698 MB / 0.4931 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004066/0.1097, allocations: 232 kB / 0.4933 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004243/0.1101, allocations: 232 kB / 0.4935 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000572/0.1107, allocations: 0.6859 MB / 0.4942 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008816/0.1116, allocations: 0.9183 MB / 0.4951 GB, free: 6.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.1137, allocations: 2.578 MB / 0.4976 GB, free: 3.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1137, allocations: 0 / 0.4976 GB, free: 3.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1137, allocations: 3.938 kB / 0.4976 GB, free: 3.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.374e-05/0.1137, allocations: 4 kB / 0.4976 GB, free: 3.805 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: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.004143/0.1179, allocations: 2.036 MB / 0.4996 GB, free: 1.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1179, allocations: 16.03 kB / 0.4996 GB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.1182, allocations: 156 kB / 0.4998 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.1195, allocations: 0.8686 MB / 0.5006 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.1196, allocations: 120.6 kB / 0.5007 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002455/0.1199, allocations: 136.3 kB / 0.5009 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1878/0.3076, allocations: 1.586 MB / 0.5024 GB, free: 21.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.3077, allocations: 0 / 0.5024 GB, free: 21.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.3078, allocations: 47.12 kB / 0.5024 GB, free: 21.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.3079, allocations: 30.06 kB / 0.5025 GB, free: 21.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.31, allocations: 1.407 MB / 0.5038 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009082/0.3191, allocations: 7.102 MB / 0.5108 GB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004741/0.3238, allocations: 1.879 MB / 0.5126 GB, free: 18.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.3252, allocations: 0.7403 MB / 0.5133 GB, free: 18.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.943e-05/0.3253, allocations: 13.39 kB / 0.5134 GB, free: 18.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.3253, allocations: 42.92 kB / 0.5134 GB, free: 18.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 4.638e-06/0.3253, allocations: 0 / 0.5134 GB, free: 18.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=103): time 0.006605/0.3319, allocations: 3.937 MB / 0.5172 GB, free: 16.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.3319, allocations: 63.83 kB / 0.5173 GB, free: 16.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000914/0.3329, allocations: 0.6775 MB / 0.518 GB, free: 16.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.712e-05/0.333, allocations: 50.45 kB / 0.518 GB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.3333, allocations: 0.5196 MB / 0.5185 GB, free: 15.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/0.3336, allocations: 436.9 kB / 0.5189 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004406/0.334, allocations: 240.7 kB / 0.5192 GB, free: 15.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3342, allocations: 414.1 kB / 0.5196 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.3355, allocations: 0.8406 MB / 0.5204 GB, free: 14.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.3368, allocations: 1 MB / 0.5214 GB, free: 14.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01315/0.3499, allocations: 4.464 MB / 0.5257 GB, free: 12.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.35, allocations: 2.812 kB / 0.5257 GB, free: 12.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004222/0.3542, allocations: 2.476 MB / 0.5281 GB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.3542, allocations: 6.594 kB / 0.5281 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.3543, allocations: 9.719 kB / 0.5282 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/0.3561, allocations: 0.5395 MB / 0.5287 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/0.3581, allocations: 404 kB / 0.5291 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/0.3731, allocations: 23.06 MB / 0.5516 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.3742, allocations: 152.8 kB / 0.5517 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.3744, allocations: 49.17 kB / 0.5518 GB, free: 3.137 MB / 398.1 MB Warning: Assuming fixed start value for the following 3 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 CH.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) 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 (160): * Single equations (assignments): 145 * 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.0008499/0.3753, allocations: 434.9 kB / 0.5522 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.3755, allocations: 95.55 kB / 0.5523 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.3792, allocations: 1.994 MB / 0.5542 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.3792, allocations: 3.984 kB / 0.5542 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3792, allocations: 0 / 0.5542 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.3795, allocations: 198.5 kB / 0.5544 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.3797, allocations: 59.97 kB / 0.5545 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007032/0.3804, allocations: 55.88 kB / 0.5545 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.3806, allocations: 88.84 kB / 0.5546 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007982/0.3886, allocations: 3.069 MB / 0.5576 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003839/0.3925, allocations: 2.783 MB / 0.5603 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001192/0.3937, allocations: 0.9017 MB / 0.5612 GB, free: 9.969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005746/0.3943, allocations: 475 kB / 0.5617 GB, free: 9.504 MB / 414.1 MB Notification: Performance of Backend: time 4.71e-07/0.3943, allocations: 0 / 0.5617 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003859/0.3981, allocations: 2.947 MB / 0.5645 GB, free: 6.355 MB / 414.1 MB Notification: Performance of SimCode: time 0.00639/0.4045, allocations: 5.245 MB / 0.5697 GB, free: 1.082 MB / 414.1 MB Notification: Performance of Templates: time 0.03642/0.441, allocations: 24.07 MB / 0.5932 GB, free: 9.199 MB / 446.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.makefile (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe 2>&1)