Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.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_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.001105/0.001105, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09379/0.09379, allocations: 22.34 MB / 313.5 MB, free: 8.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 63.89 kB / 437.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1028, allocations: 54.95 MB / 492.7 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.005038/0.1079, allocations: 4.397 MB / 497.1 MB, free: 376 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.1102, allocations: 1.263 MB / 498.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003946/0.1106, allocations: 15.88 kB / 498.4 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.111, allocations: 170.6 kB / 498.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000827/0.1119, allocations: 445.5 kB / 499 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007747/0.1126, allocations: 315.5 kB / 499.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002023/0.1147, allocations: 2.146 MB / 0.4897 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.1162, allocations: 1.598 MB / 0.4912 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008142/0.1171, allocations: 0.8184 MB / 0.492 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.1182, allocations: 0.9854 MB / 0.493 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002986/0.1185, allocations: 236 kB / 0.4932 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003513/0.1189, allocations: 240 kB / 0.4934 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005356/0.1194, allocations: 0.6937 MB / 0.4941 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008672/0.1203, allocations: 0.9261 MB / 0.495 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.1222, allocations: 2.59 MB / 0.4976 GB, free: 3.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1222, allocations: 0 / 0.4976 GB, free: 3.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1222, allocations: 0 / 0.4976 GB, free: 3.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.1222, allocations: 0 / 0.4976 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.004177/0.1264, allocations: 2.019 MB / 0.4995 GB, free: 1.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1264, allocations: 8.031 kB / 0.4995 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.1267, allocations: 155.2 kB / 0.4997 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.1281, allocations: 0.8603 MB / 0.5005 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.1282, allocations: 116.6 kB / 0.5006 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.1285, allocations: 136.2 kB / 0.5008 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1823/0.3107, allocations: 1.585 MB / 0.5023 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.3108, allocations: 3.562 kB / 0.5023 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.3109, allocations: 46.91 kB / 0.5024 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.311, allocations: 30.03 kB / 0.5024 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.3131, allocations: 1.417 MB / 0.5038 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009252/0.3223, allocations: 7.107 MB / 0.5107 GB, free: 18.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004766/0.3271, allocations: 1.893 MB / 0.5126 GB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.3284, allocations: 0.7209 MB / 0.5133 GB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.3285, allocations: 13.83 kB / 0.5133 GB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.3285, allocations: 51.72 kB / 0.5133 GB, free: 18.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 4.068e-06/0.3285, allocations: 1.25 kB / 0.5133 GB, free: 18.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=102): time 0.006766/0.3353, allocations: 3.931 MB / 0.5172 GB, free: 16.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.3354, allocations: 66.91 kB / 0.5172 GB, free: 16.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.3364, allocations: 0.6852 MB / 0.5179 GB, free: 15.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.3365, allocations: 44.86 kB / 0.5179 GB, free: 15.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.3368, allocations: 0.5015 MB / 0.5184 GB, free: 15.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/0.3371, allocations: 410.8 kB / 0.5188 GB, free: 15.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004677/0.3376, allocations: 237.3 kB / 0.5191 GB, free: 15.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3378, allocations: 417.6 kB / 0.5194 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.3391, allocations: 0.8474 MB / 0.5203 GB, free: 14.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.3404, allocations: 1.001 MB / 0.5213 GB, free: 13.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/0.353, allocations: 4.452 MB / 0.5256 GB, free: 12.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.353, allocations: 1.875 kB / 0.5256 GB, free: 12.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004138/0.3571, allocations: 2.468 MB / 0.528 GB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3572, allocations: 7.812 kB / 0.528 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.3572, allocations: 5.344 kB / 0.528 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.3588, allocations: 0.5346 MB / 0.5285 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.3605, allocations: 394.7 kB / 0.5289 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/0.3747, allocations: 23.05 MB / 0.5514 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.3759, allocations: 143.2 kB / 0.5516 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.3761, allocations: 48.53 kB / 0.5516 GB, free: 3.082 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.0008082/0.3769, allocations: 424.1 kB / 0.552 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.3772, allocations: 90.84 kB / 0.5521 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003697/0.3809, allocations: 1.979 MB / 0.554 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.3809, allocations: 11.97 kB / 0.5541 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3809, allocations: 2.562 kB / 0.5541 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.3812, allocations: 193.6 kB / 0.5542 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.3814, allocations: 55.98 kB / 0.5543 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007704/0.3822, allocations: 51.92 kB / 0.5543 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.3824, allocations: 88.8 kB / 0.5544 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008119/0.3906, allocations: 3.064 MB / 0.5574 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004011/0.3946, allocations: 2.778 MB / 0.5601 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001212/0.3958, allocations: 0.8901 MB / 0.561 GB, free: 10.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006444/0.3965, allocations: 483 kB / 0.5615 GB, free: 9.547 MB / 414.1 MB Notification: Performance of Backend: time 4.21e-07/0.3965, allocations: 0 / 0.5615 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004068/0.4006, allocations: 2.931 MB / 0.5643 GB, free: 6.422 MB / 414.1 MB Notification: Performance of SimCode: time 0.006292/0.4069, allocations: 5.159 MB / 0.5694 GB, free: 1.258 MB / 414.1 MB Notification: Performance of Templates: time 0.03547/0.4424, allocations: 24.2 MB / 0.593 GB, free: 9.23 MB / 446.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.makefile (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe 2>&1)