Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin.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.Heater_power_vs_wTin.heater_wT_sweep_Tin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin") translateModel(AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.00102/0.00102, allocations: 189.5 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.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09275/0.09275, allocations: 22.32 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.12 kB / 437.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08804/0.08933, allocations: 54.96 MB / 492.7 MB, free: 4.777 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin): time 0.3526/0.442, allocations: 22.04 MB / 0.5027 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.4432, allocations: 0.7029 MB / 0.5033 GB, free: 5.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.7e-05/0.4433, allocations: 0 / 0.5033 GB, free: 5.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.4435, allocations: 52.34 kB / 0.5034 GB, free: 5.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.4437, allocations: 128.4 kB / 0.5035 GB, free: 5.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.444, allocations: 120.6 kB / 0.5036 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002084/0.4461, allocations: 3.306 MB / 0.5069 GB, free: 5.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.4484, allocations: 2.451 MB / 0.5093 GB, free: 5.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.4505, allocations: 1.362 MB / 0.5106 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002659/0.4532, allocations: 1.745 MB / 0.5123 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007138/0.4539, allocations: 379.7 kB / 0.5126 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008618/0.4548, allocations: 379.3 kB / 0.513 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009821/0.4558, allocations: 1.031 MB / 0.514 GB, free: 4.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002058/0.4578, allocations: 1.531 MB / 0.5155 GB, free: 4.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004279/0.4621, allocations: 4.615 MB / 0.52 GB, free: 3.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4622, allocations: 1.062 kB / 0.52 GB, free: 3.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4622, allocations: 0 / 0.52 GB, free: 3.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.702e-05/0.4623, allocations: 0 / 0.52 GB, free: 3.059 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: 413 * Number of variables: 413 Notification: Performance of Generate backend data structure: time 0.00973/0.472, allocations: 3.765 MB / 0.5237 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4721, allocations: 8.906 kB / 0.5237 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000591/0.4726, allocations: 242 kB / 0.5239 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/0.4756, allocations: 1.595 MB / 0.5255 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.4757, allocations: 121.8 kB / 0.5256 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004454/0.4762, allocations: 180.9 kB / 0.5258 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007262/0.4835, allocations: 3.852 MB / 0.5295 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.4835, allocations: 0 / 0.5295 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000289/0.4838, allocations: 66.44 kB / 0.5296 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.4838, allocations: 39.69 kB / 0.5296 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007618/0.4915, allocations: 4.341 MB / 0.5339 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01763/0.5091, allocations: 11.33 MB / 0.5449 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005642/0.5148, allocations: 4.018 MB / 0.5489 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00423/0.519, allocations: 2.724 MB / 0.5515 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.5192, allocations: 34.56 kB / 0.5516 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.5192, allocations: 72.03 kB / 0.5516 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=196): time 4.408e-06/0.5192, allocations: 0 / 0.5516 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=196): time 0.0269/0.5461, allocations: 12.76 MB / 0.5641 GB, free: 4.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.5463, allocations: 229.6 kB / 0.5643 GB, free: 4.297 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/0.5489, allocations: 1.676 MB / 0.5659 GB, free: 2.605 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000691/0.5496, allocations: 53.7 kB / 0.566 GB, free: 2.547 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005859/0.5502, allocations: 0.7201 MB / 0.5667 GB, free: 1.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009855/0.5511, allocations: 0.7034 MB / 0.5674 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009109/0.5521, allocations: 379.6 kB / 0.5677 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.5522, allocations: 309.1 kB / 0.568 GB, free: 448 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004545/0.5567, allocations: 2.439 MB / 0.5704 GB, free: 14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00465/0.5614, allocations: 2.617 MB / 0.573 GB, free: 11.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00864/0.57, allocations: 4.876 MB / 0.5777 GB, free: 6.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.5701, allocations: 7.938 kB / 0.5777 GB, free: 6.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=252) (initialization): time 0.01512/0.5852, allocations: 7.087 MB / 0.5847 GB, free: 15.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.5852, allocations: 4 kB / 0.5847 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5852, allocations: 8 kB / 0.5847 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006037/0.5913, allocations: 1.933 MB / 0.5866 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004685/0.596, allocations: 0.9986 MB / 0.5875 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04696/0.643, allocations: 59.22 MB / 0.6454 GB, free: 11.88 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003763/0.6468, allocations: 469.8 kB / 0.6458 GB, free: 11.42 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009409/0.6477, allocations: 67.97 kB / 0.6459 GB, free: 11.35 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 35 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 35 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%), (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%), (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.002804/0.6505, allocations: 0.8547 MB / 0.6467 GB, free: 10.48 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/0.6517, allocations: 177.8 kB / 0.6469 GB, free: 10.31 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/0.666, allocations: 6.384 MB / 0.6531 GB, free: 3.809 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-05/0.666, allocations: 11.97 kB / 0.6531 GB, free: 3.797 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.666, allocations: 4 kB / 0.6531 GB, free: 3.793 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008948/0.6669, allocations: 324 kB / 0.6534 GB, free: 3.457 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007981/0.6678, allocations: 71.95 kB / 0.6535 GB, free: 3.387 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/0.6706, allocations: 323.5 kB / 0.6538 GB, free: 3.07 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001135/0.6718, allocations: 0.4939 MB / 0.6543 GB, free: 2.578 MB / 0.4982 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02234/0.6941, allocations: 8.993 MB / 0.6631 GB, free: 9.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01501/0.7092, allocations: 8.626 MB / 0.6715 GB, free: 0.8398 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004865/0.7141, allocations: 2.911 MB / 0.6744 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002102/0.7162, allocations: 1.202 MB / 0.6755 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of Backend: time 4.7e-07/0.7162, allocations: 0 / 0.6755 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0126/0.7288, allocations: 7.329 MB / 0.6827 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01189/0.7407, allocations: 7.341 MB / 0.6899 GB, free: 13.57 MB / 0.545 GB Notification: Performance of Templates: time 0.2803/1.021, allocations: 61.32 MB / 0.7497 GB, free: 179.9 MB / 0.5607 GB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin.makefile (rm -f AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin.sim & ./AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin.pipe 2>&1)