Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_002.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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.ThermSys_Generation.Hcentral_control_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_002") translateModel(AES.Coursework.ThermSys_Generation.Hcentral_control_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001118, allocations: 117 kB / 16.42 MB, free: 6.027 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.001092/0.001092, allocations: 187.5 kB / 17.35 MB, free: 5.625 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.291/1.291, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09079/0.09079, allocations: 22.33 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.89 kB / 438.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09388/0.09528, allocations: 54.95 MB / 493.4 MB, free: 4.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Hcentral_control_case_002): time 0.006753/0.1021, allocations: 6.127 MB / 499.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003575/0.1057, allocations: 1.839 MB / 0.4896 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007489/0.1064, allocations: 23.88 kB / 0.4896 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000592/0.1071, allocations: 217.9 kB / 0.4898 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.1085, allocations: 0.5394 MB / 0.4904 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.1099, allocations: 0.5811 MB / 0.4909 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002682/0.1126, allocations: 2.672 MB / 0.4935 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/0.1149, allocations: 1.941 MB / 0.4954 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.1163, allocations: 1.064 MB / 0.4965 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.1182, allocations: 1.273 MB / 0.4977 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006403/0.1188, allocations: 296 kB / 0.498 GB, free: 3.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007646/0.1196, allocations: 320 kB / 0.4983 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008243/0.1205, allocations: 0.7871 MB / 0.4991 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.122, allocations: 1.155 MB / 0.5002 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1947/0.3167, allocations: 3.169 MB / 0.5033 GB, free: 13.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3168, allocations: 0.75 kB / 0.5033 GB, free: 13.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3168, allocations: 0 / 0.5033 GB, free: 13.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.987e-05/0.3169, allocations: 0 / 0.5033 GB, free: 13.63 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: 370 * Number of variables: 370 Notification: Performance of Generate backend data structure: time 0.006526/0.3234, allocations: 2.554 MB / 0.5058 GB, free: 12.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.3235, allocations: 10.86 kB / 0.5058 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004481/0.3239, allocations: 201.7 kB / 0.506 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.3257, allocations: 1.097 MB / 0.5071 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/0.3258, allocations: 109.4 kB / 0.5072 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/0.3261, allocations: 175.2 kB / 0.5073 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003915/0.33, allocations: 2.103 MB / 0.5094 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.33, allocations: 3.938 kB / 0.5094 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/0.3302, allocations: 61.28 kB / 0.5095 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/0.3303, allocations: 34.88 kB / 0.5095 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003254/0.3335, allocations: 1.796 MB / 0.5112 GB, free: 11.99 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: heater.T(start = heater.Tstart = 293.15, confidence number = 2) * Candidate: heater.heatPort.T(start = 288.15, confidence number = 8) * Candidate: Ph.port.T(start = 288.15, confidence number = 8) => Select value from heater.T(start = heater.Tstart = 293.15) for variable: heater.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/0.3438, allocations: 6.7 MB / 0.5178 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005766/0.3496, allocations: 2.36 MB / 0.5201 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.3511, allocations: 0.9365 MB / 0.521 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.3512, allocations: 24.91 kB / 0.521 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.3512, allocations: 44.78 kB / 0.5211 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008682/0.3521, allocations: 159.5 kB / 0.5212 GB, free: 9.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 7.133e-06/0.3521, allocations: 0 / 0.5212 GB, free: 9.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01067/0.3628, allocations: 4.548 MB / 0.5257 GB, free: 7.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.3629, allocations: 146.5 kB / 0.5258 GB, free: 6.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.3641, allocations: 0.8963 MB / 0.5267 GB, free: 6.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.3643, allocations: 51.11 kB / 0.5267 GB, free: 6.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.3646, allocations: 0.6417 MB / 0.5274 GB, free: 5.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000385/0.365, allocations: 0.5368 MB / 0.5279 GB, free: 5.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005566/0.3656, allocations: 287 kB / 0.5282 GB, free: 5.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.598e-05/0.3656, allocations: 308.3 kB / 0.5284 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.3671, allocations: 0.9133 MB / 0.5293 GB, free: 4.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.3688, allocations: 1.139 MB / 0.5305 GB, free: 3.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02373/0.3926, allocations: 6.028 MB / 0.5363 GB, free: 496 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.3926, allocations: 0 / 0.5363 GB, free: 496 kB / 382.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007217/0.3998, allocations: 2.926 MB / 0.5392 GB, free: 14.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.3999, allocations: 8 kB / 0.5392 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.3999, allocations: 4.281 kB / 0.5392 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/0.403, allocations: 0.6609 MB / 0.5399 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/0.4053, allocations: 468.7 kB / 0.5403 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.4178, allocations: 16.57 MB / 0.5565 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.4197, allocations: 89.53 kB / 0.5566 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004414/0.4201, allocations: 63.97 kB / 0.5566 GB, free: 11.21 MB / 414.1 MB Warning: Assuming fixed start value for the following 2 variables: EV.lfrac:VARIABLE(start = EV.lfracstart fixed = true ) type: Real heater.T:VARIABLE(min = 0.0 start = heater.Tstart unit = "K" fixed = true nominal = 300.0 ) "fluid T" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002658/0.4228, allocations: 1.217 MB / 0.5578 GB, free: 9.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001832/0.4246, allocations: 1.104 MB / 0.5589 GB, free: 8.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02497/0.4496, allocations: 5.928 MB / 0.5647 GB, free: 2.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.993e-06/0.4497, allocations: 4 kB / 0.5647 GB, free: 2.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.00619/0.4559, allocations: 2.801 MB / 0.5674 GB, free: 56 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.4559, allocations: 4 kB / 0.5674 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.4559, allocations: 8 kB / 0.5674 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002774/0.4587, allocations: 0.6464 MB / 0.5681 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/0.4609, allocations: 454.6 kB / 0.5685 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/0.473, allocations: 16.55 MB / 0.5847 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.4745, allocations: 75.92 kB / 0.5847 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/0.4748, allocations: 59.97 kB / 0.5848 GB, free: 12.88 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: EV.lfrac:VARIABLE(start = EV.lfracstart fixed = true ) type: Real heater.T:VARIABLE(min = 0.0 start = heater.Tstart unit = "K" fixed = true nominal = 300.0 ) "fluid T" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (178): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006587/0.4755, allocations: 281.8 kB / 0.5851 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004382/0.4759, allocations: 131.2 kB / 0.5852 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005633/0.4816, allocations: 2.556 MB / 0.5877 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/0.4816, allocations: 11.91 kB / 0.5877 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4816, allocations: 0 / 0.5877 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/0.482, allocations: 220.2 kB / 0.5879 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003519/0.4824, allocations: 63.98 kB / 0.588 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.4835, allocations: 78.31 kB / 0.588 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003469/0.4838, allocations: 129.1 kB / 0.5882 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009694/0.4935, allocations: 3.51 MB / 0.5916 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005778/0.4993, allocations: 3.412 MB / 0.5949 GB, free: 2.461 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0017/0.5011, allocations: 1.06 MB / 0.596 GB, free: 1.402 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.5022, allocations: 0.6143 MB / 0.5966 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of Backend: time 7.51e-07/0.5022, allocations: 8 kB / 0.5966 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008748/0.511, allocations: 5.027 MB / 0.6015 GB, free: 11.54 MB / 462.1 MB Notification: Performance of SimCode: time 0.009479/0.5205, allocations: 6.043 MB / 0.6074 GB, free: 5.5 MB / 462.1 MB Notification: Performance of Templates: time 0.06426/0.5848, allocations: 41.29 MB / 0.6477 GB, free: 12.57 MB / 0.4981 GB make -j1 -f AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_002.makefile (rm -f AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_002.sim & ./AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_002 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_002.pipe 2>&1)