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.001042/0.001042, allocations: 107.1 kB / 16.41 MB, free: 6.52 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.001023/0.001023, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09288/0.09288, allocations: 22.33 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 437.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08796/0.08925, allocations: 54.96 MB / 492.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.004999/0.09428, allocations: 4.39 MB / 497.1 MB, free: 360 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.09621, allocations: 1.263 MB / 498.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.09642, allocations: 11.94 kB / 498.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.09673, allocations: 178.5 kB / 498.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005893/0.09733, allocations: 445.5 kB / 499 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006078/0.09795, allocations: 311.4 kB / 499.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.09964, allocations: 2.158 MB / 0.4897 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.1011, allocations: 1.586 MB / 0.4912 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007257/0.1019, allocations: 0.8262 MB / 0.492 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.103, allocations: 0.9854 MB / 0.493 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.1032, allocations: 236 kB / 0.4932 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.1035, allocations: 236 kB / 0.4934 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005298/0.104, allocations: 0.6976 MB / 0.4941 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008177/0.1049, allocations: 0.9261 MB / 0.495 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.1069, allocations: 2.59 MB / 0.4976 GB, free: 3.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1069, allocations: 4 kB / 0.4976 GB, free: 3.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1069, allocations: 0 / 0.4976 GB, free: 3.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.1069, allocations: 0 / 0.4976 GB, free: 3.852 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.00408/0.111, allocations: 2.049 MB / 0.4996 GB, free: 1.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.111, allocations: 12.03 kB / 0.4996 GB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.1113, allocations: 148 kB / 0.4997 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.1125, allocations: 0.8764 MB / 0.5006 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.983e-05/0.1126, allocations: 116.6 kB / 0.5007 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/0.1128, allocations: 132.3 kB / 0.5008 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.18/0.2929, allocations: 1.594 MB / 0.5024 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.2929, allocations: 0 / 0.5024 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.293, allocations: 51.06 kB / 0.5024 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.2931, allocations: 30.03 kB / 0.5024 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.2951, allocations: 1.413 MB / 0.5038 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008935/0.3041, allocations: 7.127 MB / 0.5108 GB, free: 18.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00466/0.3087, allocations: 1.89 MB / 0.5126 GB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.3098, allocations: 0.7227 MB / 0.5133 GB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-05/0.3099, allocations: 14.44 kB / 0.5133 GB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3099, allocations: 44.8 kB / 0.5134 GB, free: 18.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 2.785e-06/0.3099, allocations: 0 / 0.5134 GB, free: 18.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=102): time 0.006617/0.3166, allocations: 3.949 MB / 0.5172 GB, free: 16.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.3166, allocations: 67.3 kB / 0.5173 GB, free: 16.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009386/0.3176, allocations: 0.6836 MB / 0.518 GB, free: 15.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.738e-05/0.3176, allocations: 41.45 kB / 0.518 GB, free: 15.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.3179, allocations: 0.5199 MB / 0.5185 GB, free: 15.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003535/0.3183, allocations: 436.8 kB / 0.5189 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004823/0.3188, allocations: 234.8 kB / 0.5192 GB, free: 15.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3189, allocations: 418 kB / 0.5196 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.3202, allocations: 0.8443 MB / 0.5204 GB, free: 14.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.3215, allocations: 1.002 MB / 0.5214 GB, free: 13.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/0.3342, allocations: 4.443 MB / 0.5257 GB, free: 12.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.3342, allocations: 1.281 kB / 0.5257 GB, free: 12.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004105/0.3383, allocations: 2.472 MB / 0.5281 GB, free: 10.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3383, allocations: 9.812 kB / 0.5281 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.3384, allocations: 9.781 kB / 0.5281 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.34, allocations: 0.5387 MB / 0.5287 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.3418, allocations: 398.4 kB / 0.529 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/0.3554, allocations: 23.06 MB / 0.5516 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.3566, allocations: 150.5 kB / 0.5517 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.3567, allocations: 45.69 kB / 0.5517 GB, free: 3.117 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.0007417/0.3574, allocations: 429 kB / 0.5522 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.3576, allocations: 95.59 kB / 0.5522 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.3613, allocations: 1.979 MB / 0.5542 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.3613, allocations: 7.969 kB / 0.5542 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3613, allocations: 0 / 0.5542 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.3615, allocations: 196.3 kB / 0.5544 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.3617, allocations: 55.98 kB / 0.5544 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007111/0.3625, allocations: 51.92 kB / 0.5545 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.3627, allocations: 88.8 kB / 0.5546 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007863/0.3706, allocations: 3.061 MB / 0.5576 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003775/0.3743, allocations: 2.791 MB / 0.5603 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001171/0.3755, allocations: 0.8862 MB / 0.5611 GB, free: 9.969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005619/0.3761, allocations: 491 kB / 0.5616 GB, free: 9.488 MB / 414.1 MB Notification: Performance of Backend: time 3.71e-07/0.3761, allocations: 4 kB / 0.5616 GB, free: 9.484 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003638/0.3798, allocations: 2.931 MB / 0.5645 GB, free: 6.355 MB / 414.1 MB Notification: Performance of SimCode: time 0.006011/0.3858, allocations: 5.222 MB / 0.5696 GB, free: 1.109 MB / 414.1 MB Notification: Performance of Templates: time 0.03513/0.4209, allocations: 24.2 MB / 0.5932 GB, free: 9.09 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)