Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.HP_test_case_001.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.HP_test_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.HP_test_case_001") translateModel(AES.Coursework.ThermSys_Generation.HP_test_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.HP_test_case_001") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07763/0.07763, allocations: 19.39 MB / 34.65 MB, free: 272 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.0009666/0.0009666, allocations: 172.8 kB / 40.28 MB, free: 6.539 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.409/1.409, allocations: 225.7 MB / 271.5 MB, free: 3.219 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.0007909/0.0007908, allocations: 91.45 kB / 327.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 12 kB / 395.4 MB, free: 47.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09379/0.09413, allocations: 55.18 MB / 450.6 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.HP_test_case_001): time 0.001865/0.09606, allocations: 1.372 MB / 451.9 MB, free: 7.273 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001907/0.09626, allocations: 63.73 kB / 452 MB, free: 7.211 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.09632, allocations: 0 / 452 MB, free: 7.211 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.09636, allocations: 3.938 kB / 452 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.09651, allocations: 23.84 kB / 452 MB, free: 7.184 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.714e-05/0.09656, allocations: 15.98 kB / 452 MB, free: 7.168 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.09667, allocations: 75.72 kB / 452.1 MB, free: 7.094 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.09684, allocations: 31.89 kB / 452.1 MB, free: 7.062 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.757e-05/0.0969, allocations: 31.86 kB / 452.2 MB, free: 7.031 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.624e-05/0.097, allocations: 31.83 kB / 452.2 MB, free: 7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.09703, allocations: 4 kB / 452.2 MB, free: 6.996 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.09705, allocations: 4 kB / 452.2 MB, free: 6.992 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.09707, allocations: 7.938 kB / 452.2 MB, free: 6.984 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.504e-05/0.09713, allocations: 61.5 kB / 452.3 MB, free: 6.918 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.819e-05/0.09724, allocations: 67.75 kB / 452.4 MB, free: 6.852 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.09725, allocations: 0 / 452.4 MB, free: 6.852 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09725, allocations: 0 / 452.4 MB, free: 6.852 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.09726, allocations: 0 / 452.4 MB, free: 6.852 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004045/0.09767, allocations: 371.5 kB / 452.7 MB, free: 6.438 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.09771, allocations: 17.09 kB / 452.7 MB, free: 6.422 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.09775, allocations: 8.844 kB / 452.7 MB, free: 6.414 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.09785, allocations: 168.2 kB / 452.9 MB, free: 6.211 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.09788, allocations: 12.55 kB / 452.9 MB, free: 6.199 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.0979, allocations: 8.375 kB / 452.9 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.09807, allocations: 91.66 kB / 453 MB, free: 6.098 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.09808, allocations: 3.938 kB / 453 MB, free: 6.094 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.0981, allocations: 8 kB / 453 MB, free: 6.086 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.09811, allocations: 4 kB / 453 MB, free: 6.082 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.979e-05/0.09821, allocations: 43.98 kB / 453.1 MB, free: 6.039 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.09874, allocations: 453.7 kB / 453.5 MB, free: 5.527 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.09886, allocations: 58.56 kB / 453.6 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/0.0989, allocations: 20.92 kB / 453.6 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.09893, allocations: 7.984 kB / 453.6 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.09895, allocations: 30.56 kB / 453.6 MB, free: 5.391 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.09896, allocations: 0 / 453.6 MB, free: 5.391 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001841/0.09915, allocations: 69.67 kB / 453.7 MB, free: 5.316 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.09919, allocations: 63.28 kB / 453.8 MB, free: 5.242 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.09927, allocations: 117.8 kB / 453.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.09929, allocations: 25.7 kB / 453.9 MB, free: 5.086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.09934, allocations: 104.1 kB / 454 MB, free: 4.977 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.09937, allocations: 23.64 kB / 454 MB, free: 4.953 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.09938, allocations: 4 kB / 454 MB, free: 4.949 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.873e-05/0.09947, allocations: 310.8 kB / 454.3 MB, free: 4.637 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.005e-05/0.09951, allocations: 12 kB / 454.3 MB, free: 4.625 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-05/0.09956, allocations: 42.44 kB / 454.4 MB, free: 4.574 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.403e-05/0.09965, allocations: 54.56 kB / 454.4 MB, free: 4.512 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.09966, allocations: 0 / 454.4 MB, free: 4.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001174/0.09978, allocations: 85.53 kB / 454.5 MB, free: 4.422 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.0998, allocations: 4 kB / 454.5 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.09982, allocations: 4 kB / 454.5 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.09984, allocations: 0 / 454.5 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.09995, allocations: 23.98 kB / 454.6 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.09996, allocations: 12 kB / 454.6 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.1, allocations: 0 / 454.6 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.1, allocations: 8 kB / 454.6 MB, free: 4.371 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 6.907e-05/0.1001, allocations: 113.8 kB / 454.7 MB, free: 4.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.1001, allocations: 7.906 kB / 454.7 MB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.1003, allocations: 81.97 kB / 454.8 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.1003, allocations: 0 / 454.8 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1003, allocations: 11.94 kB / 454.8 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1003, allocations: 0 / 454.8 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.1005, allocations: 181.6 kB / 455 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1005, allocations: 0 / 455 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/0.1006, allocations: 12 kB / 455 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.1006, allocations: 0 / 455 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1006, allocations: 0.5 kB / 455 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1006, allocations: 3.984 kB / 455 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1006, allocations: 7.938 kB / 455 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.1007, allocations: 163.5 kB / 455.1 MB, free: 3.723 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.1008, allocations: 92.89 kB / 455.2 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1008, allocations: 0 / 455.2 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.1009, allocations: 4 kB / 455.2 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.1009, allocations: 12.09 kB / 455.3 MB, free: 3.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.1009, allocations: 4 kB / 455.3 MB, free: 3.594 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.988e-05/0.1009, allocations: 87.22 kB / 455.3 MB, free: 3.508 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1009, allocations: 0 / 455.3 MB, free: 3.508 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000208/0.1012, allocations: 19.91 kB / 455.4 MB, free: 3.488 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0001046/0.1013, allocations: 103.2 kB / 455.5 MB, free: 3.375 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.1014, allocations: 43.92 kB / 455.5 MB, free: 3.332 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1014, allocations: 0 / 455.5 MB, free: 3.332 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.033e-05/0.1014, allocations: 23.92 kB / 455.5 MB, free: 3.309 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.1017, allocations: 4 kB / 455.5 MB, free: 3.305 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.1021, allocations: 207.2 kB / 455.7 MB, free: 3.074 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.1023, allocations: 0.7004 MB / 456.4 MB, free: 2.348 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.431e-05/0.1024, allocations: 11.98 kB / 456.4 MB, free: 2.336 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.1024, allocations: 7.438 kB / 456.5 MB, free: 2.328 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1024, allocations: 4 kB / 456.5 MB, free: 2.324 MB / 314.7 MB Notification: Performance of Templates: time 0.002221/0.1046, allocations: 460.1 kB / 456.9 MB, free: 1.879 MB / 314.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Generation.HP_test_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_Generation.HP_test_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.HP_test_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.HP_test_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.HP_test_case_001.sim & ./AES_AES.Coursework.ThermSys_Generation.HP_test_case_001 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.HP_test_case_001.pipe 2>&1)