Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Tcontrol_central_local_01.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.ThermSys_control_problems.Tcontrol_central_local_01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Tcontrol_central_local_01") translateModel(AES.Coursework.ThermSys_control_problems.Tcontrol_central_local_01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Tcontrol_central_local_01") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07724/0.07724, allocations: 19.39 MB / 34.64 MB, free: 152 kB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 174.8 kB / 40.28 MB, free: 6.527 MB / 33.03 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 225.7 MB / 271.5 MB, free: 3.289 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007612/0.0007612, allocations: 95.72 kB / 327.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003838, allocations: 16 kB / 395.4 MB, free: 47.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1106, allocations: 55.18 MB / 450.6 MB, free: 8.664 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Tcontrol_central_local_01): time 0.003192/0.1138, allocations: 2.885 MB / 453.4 MB, free: 5.766 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1148, allocations: 0.6114 MB / 454.1 MB, free: 5.152 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.115, allocations: 11.94 kB / 454.1 MB, free: 5.141 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.1152, allocations: 43.56 kB / 454.1 MB, free: 5.098 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.1155, allocations: 107.1 kB / 454.2 MB, free: 4.992 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.116, allocations: 279.7 kB / 454.5 MB, free: 4.719 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005472/0.1166, allocations: 0.6393 MB / 455.1 MB, free: 4.078 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003958/0.117, allocations: 273.3 kB / 455.4 MB, free: 3.809 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.1172, allocations: 191.1 kB / 455.6 MB, free: 3.621 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.1175, allocations: 234.7 kB / 455.8 MB, free: 3.391 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.1175, allocations: 20 kB / 455.8 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.175e-05/0.1176, allocations: 24 kB / 455.8 MB, free: 3.348 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1177, allocations: 103.5 kB / 456 MB, free: 3.246 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.1179, allocations: 268.2 kB / 456.2 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.1185, allocations: 0.6226 MB / 456.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1185, allocations: 0 / 456.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1185, allocations: 0 / 456.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1185, allocations: 0 / 456.8 MB, free: 2.352 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001177/0.1197, allocations: 0.7876 MB / 457.6 MB, free: 1.508 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1197, allocations: 17.09 kB / 457.6 MB, free: 1.492 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.164e-05/0.1198, allocations: 64.19 kB / 457.7 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.1202, allocations: 383 kB / 458.1 MB, free: 1.016 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.1203, allocations: 41.69 kB / 458.1 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.962e-05/0.1204, allocations: 56.38 kB / 458.2 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009632/0.1213, allocations: 0.5907 MB / 458.8 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1214, allocations: 192 / 458.8 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.59e-05/0.1214, allocations: 23.94 kB / 458.8 MB, free: 296 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1214, allocations: 16 kB / 458.8 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009353/0.1224, allocations: 457 kB / 459.2 MB, free: 15.82 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.1248, allocations: 2.032 MB / 461.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000849/0.1256, allocations: 462.4 kB / 461.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004766/0.1261, allocations: 278.1 kB / 462 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.1262, allocations: 12.41 kB / 462 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1262, allocations: 43 kB / 462.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 1.523e-06/0.1262, allocations: 0 / 462.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.001301/0.1275, allocations: 0.6276 MB / 462.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.1276, allocations: 140.9 kB / 462.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.1279, allocations: 280.5 kB / 463.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.1279, allocations: 33.7 kB / 463.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.1281, allocations: 264.5 kB / 463.4 MB, free: 11.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.1282, allocations: 169.5 kB / 463.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.1283, allocations: 8 kB / 463.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1284, allocations: 354.7 kB / 463.9 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.1288, allocations: 177 kB / 464.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.1293, allocations: 269.7 kB / 464.3 MB, free: 10.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003577/0.1329, allocations: 1.023 MB / 465.4 MB, free: 9.367 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1329, allocations: 4 kB / 465.4 MB, free: 9.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009638/0.1338, allocations: 0.5336 MB / 465.9 MB, free: 8.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.751e-05/0.1339, allocations: 131.8 kB / 466 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1339, allocations: 3.938 kB / 466 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.134, allocations: 7.984 kB / 466 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.1345, allocations: 123.9 kB / 466.2 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.1346, allocations: 7.938 kB / 466.2 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.1349, allocations: 75.58 kB / 466.2 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.1349, allocations: 16 kB / 466.3 MB, free: 8.445 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.611e-06/0.1349, allocations: 4 kB / 466.3 MB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006373/0.1356, allocations: 393.2 kB / 466.7 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1356, allocations: 4 kB / 466.7 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.436e-06/0.1356, allocations: 0 / 466.7 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.1361, allocations: 111.9 kB / 466.8 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1361, allocations: 11.86 kB / 466.8 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.1363, allocations: 55.73 kB / 466.8 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.1364, allocations: 20 kB / 466.8 MB, free: 7.855 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 variables: Cloc2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cloc1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Ccen.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))) start = 313.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003171/0.1367, allocations: 295.5 kB / 467.1 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.1368, allocations: 39.53 kB / 467.2 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.138, allocations: 0.6287 MB / 467.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.138, allocations: 8 kB / 467.8 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.138, allocations: 0 / 467.8 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.138, allocations: 3.984 kB / 467.8 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007162/0.1387, allocations: 0.5834 MB / 468.4 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1387, allocations: 0 / 468.4 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.1394, allocations: 143.8 kB / 468.5 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.1394, allocations: 4 kB / 468.5 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.1394, allocations: 19.98 kB / 468.6 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1394, allocations: 0 / 468.6 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1394, allocations: 0 / 468.6 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.1409, allocations: 0.9205 MB / 469.5 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/0.141, allocations: 128.5 kB / 469.6 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/0.141, allocations: 12 kB / 469.6 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.1414, allocations: 43.97 kB / 469.7 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.1414, allocations: 36.5 kB / 469.7 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.1415, allocations: 16 kB / 469.7 MB, free: 4.895 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001766/0.1417, allocations: 195.1 kB / 469.9 MB, free: 4.707 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1417, allocations: 3.938 kB / 469.9 MB, free: 4.703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005616/0.1422, allocations: 243 kB / 470.1 MB, free: 4.465 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Ccen.T,Cloc1.T,C1.FO.y,C2.FO.y,Cloc2.T,Cc.FO.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.1424, allocations: 123.2 kB / 470.3 MB, free: 4.336 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.1436, allocations: 0.6861 MB / 471 MB, free: 3.652 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1436, allocations: 0.625 kB / 471 MB, free: 3.652 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004507/0.1441, allocations: 279.1 kB / 471.2 MB, free: 3.379 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.1446, allocations: 72.98 kB / 471.3 MB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.1468, allocations: 1.548 MB / 472.8 MB, free: 1.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.1472, allocations: 0.8717 MB / 473.7 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003658/0.1476, allocations: 83.23 kB / 473.8 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.1478, allocations: 47.42 kB / 473.8 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1478, allocations: 0 / 473.8 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of Templates: time 0.009054/0.1568, allocations: 4.766 MB / 478.6 MB, free: 11.95 MB / 346.7 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Tcontrol_central_local_01.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Tcontrol_central_local_01.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Tcontrol_central_local_01.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Tcontrol_central_local_01.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Tcontrol_central_local_01.sim & ./AES_AES.Coursework.ThermSys_control_problems.Tcontrol_central_local_01 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Tcontrol_central_local_01.pipe 2>&1)