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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT") translateModel(AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 111.2 kB / 16.42 MB, free: 6.469 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.001133/0.001133, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09534/0.09534, allocations: 22.33 MB / 313.5 MB, free: 8.848 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 437.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08866/0.08997, allocations: 54.95 MB / 492.7 MB, free: 4.707 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): time 0.4105/0.5005, allocations: 22.09 MB / 0.5027 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.5023, allocations: 0.672 MB / 0.5034 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.5025, allocations: 1.641 kB / 0.5034 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.5027, allocations: 42.61 kB / 0.5034 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.5031, allocations: 112.5 kB / 0.5035 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.5036, allocations: 97.97 kB / 0.5036 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.5042, allocations: 417.7 kB / 0.504 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004159/0.5046, allocations: 256 kB / 0.5043 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.5049, allocations: 169.6 kB / 0.5044 GB, free: 5.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000452/0.5053, allocations: 224.2 kB / 0.5046 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.617e-05/0.5055, allocations: 37.69 kB / 0.5047 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.5056, allocations: 37.06 kB / 0.5047 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.5058, allocations: 131.6 kB / 0.5048 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000276/0.5061, allocations: 198.1 kB / 0.505 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006831/0.5068, allocations: 447.1 kB / 0.5054 GB, free: 5.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5068, allocations: 7.438 kB / 0.5055 GB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5068, allocations: 0 / 0.5055 GB, free: 5.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.5068, allocations: 0.5625 kB / 0.5055 GB, free: 5.477 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001976/0.5088, allocations: 0.688 MB / 0.5061 GB, free: 5.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.5089, allocations: 13.06 kB / 0.5061 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.509, allocations: 37.55 kB / 0.5062 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.5095, allocations: 300 kB / 0.5065 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.5095, allocations: 18.25 kB / 0.5065 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/0.5096, allocations: 27.19 kB / 0.5065 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.5107, allocations: 344.7 kB / 0.5068 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.5108, allocations: 3.938 kB / 0.5068 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/0.5108, allocations: 13 kB / 0.5068 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.5109, allocations: 4.25 kB / 0.5068 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.5122, allocations: 329.3 kB / 0.5072 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003079/0.5153, allocations: 1.25 MB / 0.5084 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.5163, allocations: 311.1 kB / 0.5087 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008144/0.5171, allocations: 229.5 kB / 0.5089 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.5172, allocations: 2.359 kB / 0.5089 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.5173, allocations: 37 kB / 0.5089 GB, free: 4.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.855e-06/0.5173, allocations: 0 / 0.5089 GB, free: 4.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.005213/0.5225, allocations: 1.235 MB / 0.5101 GB, free: 3.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.5225, allocations: 54.61 kB / 0.5102 GB, free: 3.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000392/0.5229, allocations: 259.1 kB / 0.5104 GB, free: 3.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.523, allocations: 31.48 kB / 0.5105 GB, free: 3.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.5231, allocations: 168.7 kB / 0.5106 GB, free: 3.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.5233, allocations: 105.5 kB / 0.5107 GB, free: 3.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.5235, allocations: 56.34 kB / 0.5108 GB, free: 3.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.5236, allocations: 341.5 kB / 0.5111 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007369/0.5243, allocations: 176.1 kB / 0.5113 GB, free: 2.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007346/0.5251, allocations: 186.4 kB / 0.5115 GB, free: 2.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.5265, allocations: 387.7 kB / 0.5118 GB, free: 2.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.5265, allocations: 2.656 kB / 0.5118 GB, free: 2.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002778/0.5293, allocations: 0.6094 MB / 0.5124 GB, free: 2.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5294, allocations: 6.062 kB / 0.5124 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5294, allocations: 2.625 kB / 0.5124 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.5307, allocations: 173.9 kB / 0.5126 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.5317, allocations: 88.42 kB / 0.5127 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009076/0.5408, allocations: 7.612 MB / 0.5201 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/0.5414, allocations: 40.38 kB / 0.5202 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.5415, allocations: 13.88 kB / 0.5202 GB, free: 11.58 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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.0002915/0.5418, allocations: 160.1 kB / 0.5203 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.5419, allocations: 29.47 kB / 0.5204 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/0.5445, allocations: 0.5779 MB / 0.5209 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.5445, allocations: 1.359 kB / 0.5209 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5445, allocations: 1.094 kB / 0.5209 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.5446, allocations: 116.6 kB / 0.521 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.811e-05/0.5447, allocations: 8.453 kB / 0.521 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005261/0.5453, allocations: 21.59 kB / 0.5211 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.5455, allocations: 32.64 kB / 0.5211 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004203/0.5497, allocations: 0.7714 MB / 0.5218 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002656/0.5524, allocations: 0.8 MB / 0.5226 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007887/0.5532, allocations: 203.8 kB / 0.5228 GB, free: 10.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002899/0.5535, allocations: 187.8 kB / 0.523 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Backend: time 8.41e-07/0.5535, allocations: 0 / 0.523 GB, free: 10.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002663/0.5562, allocations: 0.9213 MB / 0.5239 GB, free: 10.12 MB / 398.1 MB Notification: Performance of SimCode: time 0.002746/0.5589, allocations: 1.404 MB / 0.5253 GB, free: 9.246 MB / 398.1 MB Notification: Performance of Templates: time 0.0197/0.5786, allocations: 6.452 MB / 0.5316 GB, free: 7.129 MB / 398.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.makefile (rm -f AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.sim & ./AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe 2>&1)