Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.AHU_case_002.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_Generation.AHU_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.AHU_case_002") translateModel(AES.Coursework.ThermSys_Generation.AHU_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.AHU_case_002") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.09218/0.09218, allocations: 19.39 MB / 34.65 MB, free: 76 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.001074/0.001075, allocations: 178.9 kB / 40.28 MB, free: 6.531 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.379/1.379, allocations: 225.7 MB / 271.5 MB, free: 3.32 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.0008549/0.000855, allocations: 87.75 kB / 327.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 12 kB / 395.4 MB, free: 47.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09452, allocations: 55.18 MB / 450.6 MB, free: 8.695 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.AHU_case_002): time 0.003976/0.09854, allocations: 3.683 MB / 454.2 MB, free: 5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.1009, allocations: 1.259 MB / 455.5 MB, free: 3.734 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.1013, allocations: 4 kB / 455.5 MB, free: 3.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.1015, allocations: 63.5 kB / 455.6 MB, free: 3.668 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004915/0.102, allocations: 214.3 kB / 455.8 MB, free: 3.457 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.1025, allocations: 263.7 kB / 456 MB, free: 3.199 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009625/0.1035, allocations: 1.099 MB / 457.1 MB, free: 2.094 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006721/0.1042, allocations: 476.4 kB / 457.6 MB, free: 1.629 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.1047, allocations: 402.8 kB / 458 MB, free: 1.234 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000566/0.1053, allocations: 478.2 kB / 458.5 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.1054, allocations: 56 kB / 458.5 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1055, allocations: 56 kB / 458.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.1057, allocations: 167.4 kB / 458.7 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004053/0.1061, allocations: 447.8 kB / 459.2 MB, free: 48 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008341/0.1069, allocations: 1.035 MB / 460.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.107, allocations: 3.938 kB / 460.2 MB, free: 15 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.789e-06/0.107, allocations: 4 kB / 460.2 MB, free: 15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.107, allocations: 0 / 460.2 MB, free: 15 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002151/0.1091, allocations: 0.9289 MB / 461.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.1092, allocations: 9.156 kB / 461.2 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.1093, allocations: 80 kB / 461.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.1095, allocations: 251.9 kB / 461.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.1096, allocations: 66.38 kB / 461.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.1097, allocations: 92.12 kB / 461.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.111, allocations: 0.796 MB / 462.4 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.111, allocations: 4 kB / 462.4 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-05/0.1111, allocations: 36 kB / 462.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.1111, allocations: 20 kB / 462.5 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.1125, allocations: 0.8237 MB / 463.3 MB, free: 11.8 MB / 330.7 MB Warning: Alias set with conflicting start values * Candidate: U1.T(start = U1.Tstart = 293.15, confidence number = 2) * Candidate: U1.air.T(start = 288.15, confidence number = 8) => Select value from U1.T(start = U1.Tstart = 293.15) for variable: U1.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.1162, allocations: 2.407 MB / 465.7 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.1182, allocations: 0.988 MB / 466.7 MB, free: 8.301 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006272/0.1188, allocations: 427.6 kB / 467.1 MB, free: 7.883 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.336e-05/0.1189, allocations: 20.92 kB / 467.1 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.1189, allocations: 43.56 kB / 467.2 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004361/0.1194, allocations: 131.2 kB / 467.3 MB, free: 7.684 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 2.905e-06/0.1194, allocations: 0 / 467.3 MB, free: 7.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.003219/0.1226, allocations: 1.653 MB / 469 MB, free: 5.957 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.1227, allocations: 64.41 kB / 469 MB, free: 5.883 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1229, allocations: 215.1 kB / 469.2 MB, free: 5.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.828e-05/0.123, allocations: 41.7 kB / 469.3 MB, free: 5.613 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.1231, allocations: 240.9 kB / 469.5 MB, free: 5.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.1234, allocations: 382.4 kB / 469.9 MB, free: 4.992 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.1234, allocations: 20 kB / 469.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1236, allocations: 366.8 kB / 470.3 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/0.1242, allocations: 309.9 kB / 470.6 MB, free: 4.301 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/0.1248, allocations: 403.1 kB / 471 MB, free: 3.895 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01518/0.1399, allocations: 3.023 MB / 474 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.14, allocations: 0 / 474 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001677/0.1417, allocations: 0.9759 MB / 475 MB, free: 15.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.1417, allocations: 4 kB / 475 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1417, allocations: 3.984 kB / 475 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.142, allocations: 70.55 kB / 475 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005657/0.1476, allocations: 0.7998 MB / 475.8 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008613/0.1563, allocations: 12.04 MB / 487.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007908/0.1571, allocations: 44.05 kB / 487.9 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.1572, allocations: 39.97 kB / 488 MB, free: 1.629 MB / 346.7 MB Warning: Assuming fixed start value for the following 2 variables: U1.phi:VARIABLE(start = U1.phistart fixed = true ) type: Real U1.T:VARIABLE(min = max(0.0, 0.0) start = U1.Tstart unit = "K" fixed = true nominal = 300.0 ) "controlled T" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (AHUon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004435/0.1577, allocations: 217.6 kB / 488.2 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-05/0.1578, allocations: 47.44 kB / 488.2 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.1601, allocations: 1.246 MB / 489.5 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.1601, allocations: 12 kB / 489.5 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1601, allocations: 3.938 kB / 489.5 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.1602, allocations: 7.969 kB / 489.5 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.1637, allocations: 2.293 MB / 491.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.1637, allocations: 8.125 kB / 491.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005131/0.1688, allocations: 0.7531 MB / 492.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000528/0.1694, allocations: 150.4 kB / 492.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.221e-05/0.1695, allocations: 28 kB / 492.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009662/0.1791, allocations: 12.45 MB / 0.4933 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/0.1792, allocations: 16.11 kB / 0.4933 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003198/0.1824, allocations: 1.782 MB / 0.4951 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.1826, allocations: 132.5 kB / 0.4952 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.1828, allocations: 32.12 kB / 0.4952 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/0.1835, allocations: 55.91 kB / 0.4953 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/0.1838, allocations: 112.7 kB / 0.4954 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.812e-05/0.1839, allocations: 35.94 kB / 0.4954 GB, free: 12.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.1841, allocations: 172 kB / 0.4956 GB, free: 12.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1841, allocations: 0 / 0.4956 GB, free: 12.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001163/0.1853, allocations: 267.4 kB / 0.4959 GB, free: 12.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 5 (U1.T,U1.phi,V.Ma,V.Mv,V.Ea) * 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 (113): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002311/0.1855, allocations: 147 kB / 0.496 GB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006498/0.192, allocations: 1.742 MB / 0.4977 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.1921, allocations: 4 kB / 0.4977 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005476/0.1976, allocations: 1.397 MB / 0.4991 GB, free: 8.922 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.199, allocations: 189.5 kB / 0.4992 GB, free: 8.734 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.2026, allocations: 2.197 MB / 0.5014 GB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.2031, allocations: 0.9257 MB / 0.5023 GB, free: 5.477 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008238/0.204, allocations: 109.2 kB / 0.5024 GB, free: 5.367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.2043, allocations: 63.41 kB / 0.5025 GB, free: 5.305 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2043, allocations: 0 / 0.5025 GB, free: 5.305 MB / 378.7 MB Notification: Performance of Templates: time 0.1919/0.3962, allocations: 11.46 MB / 0.5137 GB, free: 66.99 MB / 378.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Generation.AHU_case_002.makefile (rm -f AES_AES.Coursework.ThermSys_Generation.AHU_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.AHU_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.AHU_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.AHU_case_002.sim & ./AES_AES.Coursework.ThermSys_Generation.AHU_case_002 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.AHU_case_002.pipe 2>&1)