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.001496/0.001501, allocations: 114.5 kB / 16.42 MB, free: 6.504 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.001712/0.001713, allocations: 183.9 kB / 17.34 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.348/1.348, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0956/0.0956, allocations: 22.33 MB / 313.5 MB, free: 8.906 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 59.91 kB / 437.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1166, allocations: 54.96 MB / 492.7 MB, free: 4.781 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.002656/0.1193, allocations: 1.771 MB / 494.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.1217, allocations: 1.736 MB / 496.2 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.122, allocations: 11.94 kB / 496.2 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005968/0.1226, allocations: 198.8 kB / 496.4 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006134/0.1232, allocations: 266.9 kB / 496.7 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007584/0.124, allocations: 411.3 kB / 497.1 MB, free: 392 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.1253, allocations: 1.19 MB / 498.3 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.1255, allocations: 124.7 kB / 498.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006482/0.1261, allocations: 494.5 kB / 498.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007352/0.1269, allocations: 0.5216 MB / 499.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.1271, allocations: 56 kB / 499.4 MB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1272, allocations: 60 kB / 499.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002869/0.1275, allocations: 259.2 kB / 499.8 MB, free: 13.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003172/0.1278, allocations: 298 kB / 0.4883 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000627/0.1284, allocations: 0.6532 MB / 0.489 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1284, allocations: 4 kB / 0.489 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1285, allocations: 0 / 0.489 GB, free: 12.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.1285, allocations: 0 / 0.489 GB, free: 12.73 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.004561/0.133, allocations: 1.534 MB / 0.4905 GB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1331, allocations: 12.03 kB / 0.4905 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.1333, allocations: 80.42 kB / 0.4906 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.1358, allocations: 0.9064 MB / 0.4914 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.1359, allocations: 20.94 kB / 0.4915 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.1359, allocations: 40.36 kB / 0.4915 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/0.1366, allocations: 372.6 kB / 0.4919 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1366, allocations: 0 / 0.4919 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.1366, allocations: 12 kB / 0.4919 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1366, allocations: 8 kB / 0.4919 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007901/0.1374, allocations: 465.9 kB / 0.4923 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.1397, allocations: 1.256 MB / 0.4935 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.1416, allocations: 0.8103 MB / 0.4943 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/0.142, allocations: 258 kB / 0.4946 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.142, allocations: 4.438 kB / 0.4946 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.1421, allocations: 39 kB / 0.4946 GB, free: 6.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.064e-06/0.1421, allocations: 4 kB / 0.4946 GB, free: 6.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=48): time 0.003459/0.1455, allocations: 1.51 MB / 0.4961 GB, free: 5.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.1456, allocations: 55.84 kB / 0.4962 GB, free: 5.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002623/0.1482, allocations: 1.043 MB / 0.4972 GB, free: 4.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.1483, allocations: 37.64 kB / 0.4972 GB, free: 4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.1485, allocations: 300.8 kB / 0.4975 GB, free: 3.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.1486, allocations: 186.4 kB / 0.4977 GB, free: 3.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.1488, allocations: 82.12 kB / 0.4978 GB, free: 3.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1489, allocations: 326 kB / 0.4981 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.1493, allocations: 220.9 kB / 0.4983 GB, free: 2.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.1497, allocations: 224.4 kB / 0.4985 GB, free: 2.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004247/0.1539, allocations: 1.408 MB / 0.4999 GB, free: 1.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1539, allocations: 0 / 0.4999 GB, free: 1.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001624/0.1556, allocations: 0.8997 MB / 0.5007 GB, free: 348 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1556, allocations: 4 kB / 0.5007 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1556, allocations: 4 kB / 0.5008 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006566/0.1563, allocations: 223.2 kB / 0.501 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.1566, allocations: 75.91 kB / 0.501 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1967/0.3534, allocations: 6.406 MB / 0.5073 GB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.3546, allocations: 185.1 kB / 0.5075 GB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.3547, allocations: 14.97 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.0003262/0.355, allocations: 254.8 kB / 0.5077 GB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.3551, allocations: 72.73 kB / 0.5078 GB, free: 17.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.3553, allocations: 101.9 kB / 0.5079 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3553, allocations: 4.797 kB / 0.5079 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3553, allocations: 3.562 kB / 0.5079 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.3555, allocations: 173.5 kB / 0.5081 GB, free: 16.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.472e-05/0.3556, allocations: 14.81 kB / 0.5081 GB, free: 16.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.3567, allocations: 162.7 kB / 0.5082 GB, free: 16.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.3568, allocations: 38.58 kB / 0.5083 GB, free: 16.95 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002755/0.3596, allocations: 1.068 MB / 0.5093 GB, free: 16.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001357/0.361, allocations: 1.174 MB / 0.5105 GB, free: 16.52 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003868/0.3614, allocations: 280.3 kB / 0.5107 GB, free: 16.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002403/0.3638, allocations: 0.8216 MB / 0.5115 GB, free: 16.42 MB / 382.1 MB Notification: Performance of Backend: time 6.01e-07/0.3638, allocations: 0 / 0.5115 GB, free: 16.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.3653, allocations: 0.9435 MB / 0.5125 GB, free: 15.89 MB / 382.1 MB Notification: Performance of SimCode: time 0.001898/0.3673, allocations: 1.943 MB / 0.5144 GB, free: 14.79 MB / 382.1 MB Notification: Performance of Templates: time 0.01682/0.3841, allocations: 9.583 MB / 0.5237 GB, free: 12.56 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)