Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001.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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001") translateModel(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.0009825/0.0009825, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.33/1.33, allocations: 222.9 MB / 241.1 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.09361/0.09361, allocations: 22.32 MB / 313.5 MB, free: 8.914 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.91 kB / 438.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08457/0.08587, allocations: 54.96 MB / 493.4 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001): time 0.006537/0.09243, allocations: 5.792 MB / 499.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003281/0.09574, allocations: 1.734 MB / 0.4892 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006643/0.09642, allocations: 19.88 kB / 0.4892 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005365/0.09697, allocations: 206.1 kB / 0.4894 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.09819, allocations: 0.5123 MB / 0.4899 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.09938, allocations: 0.5135 MB / 0.4904 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004177/0.1036, allocations: 4.944 MB / 0.4952 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004355/0.1079, allocations: 3.892 MB / 0.499 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.1104, allocations: 1.876 MB / 0.5009 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1919/0.3024, allocations: 2.214 MB / 0.503 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.3035, allocations: 0.6244 MB / 0.5036 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009376/0.3044, allocations: 0.6585 MB / 0.5043 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.3057, allocations: 1.83 MB / 0.5061 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002834/0.3086, allocations: 2.286 MB / 0.5083 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007129/0.3157, allocations: 6.824 MB / 0.515 GB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3158, allocations: 0 / 0.515 GB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3158, allocations: 0.625 kB / 0.515 GB, free: 12.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001636/0.3159, allocations: 3.688 kB / 0.515 GB, free: 12.3 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: 754 * Number of variables: 754 Notification: Performance of Generate backend data structure: time 0.01437/0.3303, allocations: 4.711 MB / 0.5196 GB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3304, allocations: 9.594 kB / 0.5196 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009155/0.3313, allocations: 337.8 kB / 0.5199 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/0.334, allocations: 1.745 MB / 0.5216 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.3342, allocations: 254.1 kB / 0.5218 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006976/0.3349, allocations: 371.3 kB / 0.5222 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00771/0.3426, allocations: 4.801 MB / 0.5269 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.068e-05/0.3427, allocations: 0 / 0.5269 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003968/0.3431, allocations: 116.2 kB / 0.527 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-05/0.3431, allocations: 75.19 kB / 0.5271 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006367/0.3495, allocations: 4.098 MB / 0.5311 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02626/0.3758, allocations: 19.26 MB / 0.5499 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0152/0.391, allocations: 6.88 MB / 0.5566 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003731/0.3947, allocations: 2.334 MB / 0.5589 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.395, allocations: 44.73 kB / 0.5589 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.3951, allocations: 68.25 kB / 0.559 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001342/0.3964, allocations: 241.8 kB / 0.5592 GB, free: 10.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=306): time 7.124e-06/0.3964, allocations: 0 / 0.5592 GB, free: 10.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=306): time 0.02409/0.4205, allocations: 11.72 MB / 0.5707 GB, free: 13.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.4206, allocations: 137.2 kB / 0.5708 GB, free: 13.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.422, allocations: 0.9395 MB / 0.5717 GB, free: 12.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004076/0.4224, allocations: 77.7 kB / 0.5718 GB, free: 12.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006261/0.4231, allocations: 0.936 MB / 0.5727 GB, free: 11.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0015/0.4246, allocations: 1.29 MB / 0.574 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001319/0.4259, allocations: 0.6619 MB / 0.5746 GB, free: 9.664 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.426, allocations: 305.1 kB / 0.5749 GB, free: 9.363 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00417/0.4302, allocations: 2.665 MB / 0.5775 GB, free: 6.691 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004406/0.4346, allocations: 2.983 MB / 0.5804 GB, free: 3.578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04943/0.484, allocations: 14.81 MB / 0.5949 GB, free: 4.645 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/0.4841, allocations: 4 kB / 0.5949 GB, free: 4.641 MB / 446.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.01709/0.5012, allocations: 7.482 MB / 0.6022 GB, free: 13.12 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.5012, allocations: 13.03 kB / 0.6022 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.5013, allocations: 8 kB / 0.6022 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006316/0.5076, allocations: 1.66 MB / 0.6038 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005145/0.5127, allocations: 1.154 MB / 0.605 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04107/0.5538, allocations: 56.02 MB / 0.6597 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00367/0.5575, allocations: 235.8 kB / 0.6599 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/0.5586, allocations: 136 kB / 0.66 GB, free: 13 MB / 0.5137 GB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real FlowCtrl.y:VARIABLE(flow=false start = FlowCtrl.y_start fixed = true ) "Connector of Real output signal" type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real H.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real EV.lfrac:VARIABLE(start = EV.lfracstart fixed = true ) type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007065/0.5656, allocations: 3.369 MB / 0.6633 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005179/0.5708, allocations: 2.966 MB / 0.6662 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05172/0.6226, allocations: 14.76 MB / 0.6806 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.435e-05/0.6226, allocations: 4 kB / 0.6806 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of matching and sorting (n=499) (initialization_lambda0): time 0.01719/0.6398, allocations: 7.376 MB / 0.6878 GB, free: 108 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6399, allocations: 8 kB / 0.6878 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.6399, allocations: 12 kB / 0.6878 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006331/0.6462, allocations: 1.64 MB / 0.6894 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005873/0.6521, allocations: 1.151 MB / 0.6906 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2508/0.9029, allocations: 55.97 MB / 0.7452 GB, free: 134.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003487/0.9064, allocations: 231.1 kB / 0.7454 GB, free: 134.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003843/0.9068, allocations: 135.8 kB / 0.7456 GB, free: 134.2 MB / 0.545 GB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real FlowCtrl.y:VARIABLE(flow=false start = FlowCtrl.y_start fixed = true ) "Connector of Real output signal" type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real H.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real EV.lfrac:VARIABLE(start = EV.lfracstart fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (449): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 36 * 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): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0009933/0.9078, allocations: 403 kB / 0.746 GB, free: 134 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004871/0.9083, allocations: 201.2 kB / 0.7461 GB, free: 134 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/0.9196, allocations: 6.187 MB / 0.7522 GB, free: 133.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/0.9197, allocations: 16.83 kB / 0.7522 GB, free: 133.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.9197, allocations: 4 kB / 0.7522 GB, free: 133.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004879/0.9202, allocations: 291.2 kB / 0.7525 GB, free: 133.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005903/0.9208, allocations: 191.9 kB / 0.7527 GB, free: 133.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/0.9227, allocations: 207.4 kB / 0.7529 GB, free: 133.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006008/0.9233, allocations: 275.4 kB / 0.7531 GB, free: 133.2 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02298/0.9463, allocations: 9.749 MB / 0.7626 GB, free: 130.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01013/0.9565, allocations: 8.404 MB / 0.7709 GB, free: 127.3 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002958/0.9594, allocations: 2.871 MB / 0.7737 GB, free: 126.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007404/0.9602, allocations: 0.6346 MB / 0.7743 GB, free: 125.9 MB / 0.545 GB Notification: Performance of Backend: time 4.61e-07/0.9602, allocations: 0 / 0.7743 GB, free: 125.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01558/0.9758, allocations: 15.06 MB / 0.789 GB, free: 110.4 MB / 0.545 GB Notification: Performance of SimCode: time 0.01504/0.9909, allocations: 14.76 MB / 0.8034 GB, free: 95.75 MB / 0.545 GB Notification: Performance of Templates: time 0.107/1.098, allocations: 97.1 MB / 0.8982 GB, free: 15.18 MB / 0.5606 GB make -j1 -f AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001.sim & ./AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001.pipe 2>&1)