Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen.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_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen") translateModel(AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 113.5 kB / 16.42 MB, free: 6.004 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.00185/0.00185, allocations: 190.2 kB / 17.35 MB, free: 5.586 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 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09196/0.09196, allocations: 22.33 MB / 313.5 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 67.89 kB / 437.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09378/0.09538, allocations: 54.95 MB / 492.7 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen): time 0.002938/0.09836, allocations: 1.769 MB / 494.5 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1009, allocations: 1.736 MB / 496.2 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.1013, allocations: 8 kB / 496.2 MB, free: 1.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006532/0.1019, allocations: 206.8 kB / 496.4 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006732/0.1026, allocations: 262.9 kB / 496.7 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000811/0.1035, allocations: 407.3 kB / 497.1 MB, free: 340 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.1047, allocations: 1.19 MB / 498.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.105, allocations: 120.8 kB / 498.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.1056, allocations: 498.4 kB / 498.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006251/0.1062, allocations: 0.5216 MB / 499.4 MB, free: 14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.1063, allocations: 59.94 kB / 499.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1064, allocations: 60 kB / 499.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002629/0.1067, allocations: 259.2 kB / 499.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002676/0.107, allocations: 294.1 kB / 0.4883 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005977/0.1076, allocations: 0.661 MB / 0.489 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1076, allocations: 0 / 0.489 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1076, allocations: 4 kB / 0.489 GB, free: 12.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.1076, allocations: 0 / 0.489 GB, free: 12.68 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.004528/0.1122, allocations: 1.53 MB / 0.4905 GB, free: 11.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1122, allocations: 12.03 kB / 0.4905 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.1124, allocations: 76.42 kB / 0.4905 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.1149, allocations: 0.9142 MB / 0.4914 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.1149, allocations: 16.94 kB / 0.4915 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.115, allocations: 36.36 kB / 0.4915 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005946/0.1156, allocations: 380.6 kB / 0.4919 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1156, allocations: 0 / 0.4919 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.1156, allocations: 12 kB / 0.4919 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1157, allocations: 4 kB / 0.4919 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000767/0.1164, allocations: 469.9 kB / 0.4923 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.1187, allocations: 1.256 MB / 0.4935 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.1206, allocations: 0.7987 MB / 0.4943 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.121, allocations: 262 kB / 0.4946 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/0.1211, allocations: 8.375 kB / 0.4946 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1211, allocations: 43 kB / 0.4946 GB, free: 6.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 1.843e-06/0.1211, allocations: 0 / 0.4946 GB, free: 6.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=48): time 0.003278/0.1244, allocations: 1.506 MB / 0.4961 GB, free: 5.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.1244, allocations: 55.84 kB / 0.4961 GB, free: 5.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/0.127, allocations: 1.043 MB / 0.4972 GB, free: 3.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.127, allocations: 33.7 kB / 0.4972 GB, free: 3.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.1273, allocations: 300.8 kB / 0.4975 GB, free: 3.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.1275, allocations: 186.4 kB / 0.4977 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.1276, allocations: 82.12 kB / 0.4977 GB, free: 3.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1277, allocations: 326 kB / 0.4981 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.1281, allocations: 220.8 kB / 0.4983 GB, free: 2.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.1285, allocations: 232.3 kB / 0.4985 GB, free: 2.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004274/0.1327, allocations: 1.405 MB / 0.4999 GB, free: 1.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1328, allocations: 0 / 0.4999 GB, free: 1.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001662/0.1344, allocations: 0.8997 MB / 0.5007 GB, free: 296 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1345, allocations: 10.19 kB / 0.5007 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1345, allocations: 0 / 0.5007 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006974/0.1352, allocations: 219.2 kB / 0.501 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1825/0.3176, allocations: 70.48 kB / 0.501 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00397/0.3217, allocations: 6.426 MB / 0.5073 GB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.3228, allocations: 178.2 kB / 0.5075 GB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.3229, allocations: 14.88 kB / 0.5075 GB, free: 17.2 MB / 382.1 MB Warning: Assuming fixed start value for the following 15 variables: Sf4.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] S4.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] P4.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] C4.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] C4.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] C3.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] C3.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] P3.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] S3.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] P2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] C2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] S2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] C1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] S1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] P1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003434/0.3233, allocations: 253 kB / 0.5077 GB, free: 17.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.3234, allocations: 76.92 kB / 0.5078 GB, free: 17.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.3235, allocations: 99.38 kB / 0.5079 GB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3235, allocations: 2.156 kB / 0.5079 GB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3235, allocations: 2.406 kB / 0.5079 GB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.3237, allocations: 176.9 kB / 0.5081 GB, free: 16.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.3238, allocations: 25.05 kB / 0.5081 GB, free: 16.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.3249, allocations: 149.3 kB / 0.5082 GB, free: 16.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.325, allocations: 38.12 kB / 0.5083 GB, free: 16.95 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002675/0.3277, allocations: 1.073 MB / 0.5093 GB, free: 16.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001325/0.329, allocations: 1.177 MB / 0.5105 GB, free: 16.52 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003764/0.3294, allocations: 277.3 kB / 0.5107 GB, free: 16.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002207/0.3316, allocations: 0.8247 MB / 0.5115 GB, free: 16.41 MB / 382.1 MB Notification: Performance of Backend: time 7.52e-07/0.3316, allocations: 1.641 kB / 0.5115 GB, free: 16.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.3331, allocations: 0.9418 MB / 0.5125 GB, free: 15.89 MB / 382.1 MB Notification: Performance of SimCode: time 0.001731/0.3348, allocations: 1.935 MB / 0.5143 GB, free: 14.78 MB / 382.1 MB Notification: Performance of Templates: time 0.01545/0.3503, allocations: 9.598 MB / 0.5237 GB, free: 12.53 MB / 382.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen.sim & ./AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen.pipe 2>&1)