Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_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_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.08054/0.08054, allocations: 19.39 MB / 34.64 MB, free: 256 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.0008929/0.0008928, allocations: 181.6 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.334/1.334, allocations: 225.7 MB / 271.5 MB, free: 3.277 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.0008001/0.0008003, allocations: 87.77 kB / 327.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 8 kB / 395.4 MB, free: 47.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08891/0.08924, allocations: 55.19 MB / 450.6 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.00232/0.0916, allocations: 1.967 MB / 452.5 MB, free: 6.672 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003855/0.09201, allocations: 231.3 kB / 452.8 MB, free: 6.445 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.09212, allocations: 7.938 kB / 452.8 MB, free: 6.438 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.672e-05/0.09218, allocations: 19.84 kB / 452.8 MB, free: 6.418 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.09236, allocations: 75.38 kB / 452.9 MB, free: 6.344 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.0925, allocations: 35.97 kB / 452.9 MB, free: 6.309 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.09273, allocations: 254.6 kB / 453.1 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.09293, allocations: 104.5 kB / 453.2 MB, free: 5.957 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.09308, allocations: 103.4 kB / 453.3 MB, free: 5.855 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.0932, allocations: 79.58 kB / 453.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.09324, allocations: 8 kB / 453.4 MB, free: 5.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.958e-05/0.09328, allocations: 8 kB / 453.4 MB, free: 5.762 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.09333, allocations: 35.84 kB / 453.5 MB, free: 5.727 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.09345, allocations: 125.2 kB / 453.6 MB, free: 5.598 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.09363, allocations: 195.1 kB / 453.8 MB, free: 5.406 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.564e-05/0.09366, allocations: 4 kB / 453.8 MB, free: 5.402 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.09367, allocations: 3.938 kB / 453.8 MB, free: 5.398 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.09367, allocations: 3.938 kB / 453.8 MB, free: 5.395 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005815/0.09426, allocations: 478.5 kB / 454.3 MB, free: 4.875 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.0943, allocations: 8.031 kB / 454.3 MB, free: 4.867 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.09435, allocations: 24.66 kB / 454.3 MB, free: 4.844 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.09462, allocations: 263.6 kB / 454.6 MB, free: 4.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.09465, allocations: 12.31 kB / 454.6 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.09468, allocations: 12.38 kB / 454.6 MB, free: 4.523 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.09499, allocations: 162.6 kB / 454.7 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.09501, allocations: 7.938 kB / 454.7 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.09503, allocations: 4 kB / 454.8 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.09504, allocations: 4 kB / 454.8 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.09522, allocations: 91.89 kB / 454.8 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007939/0.09602, allocations: 0.8016 MB / 455.6 MB, free: 3.371 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.09643, allocations: 110.5 kB / 455.8 MB, free: 3.254 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.046e-05/0.09652, allocations: 44.84 kB / 455.8 MB, free: 3.207 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.09653, allocations: 0 / 455.8 MB, free: 3.207 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.09656, allocations: 30.56 kB / 455.8 MB, free: 3.168 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.996e-06/0.09657, allocations: 3.984 kB / 455.8 MB, free: 3.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002552/0.09683, allocations: 117.6 kB / 455.9 MB, free: 3.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.09687, allocations: 55.41 kB / 456 MB, free: 2.977 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.09711, allocations: 270.8 kB / 456.3 MB, free: 2.703 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.09713, allocations: 25.7 kB / 456.3 MB, free: 2.672 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.943e-05/0.09723, allocations: 147.9 kB / 456.4 MB, free: 2.523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.09726, allocations: 31.55 kB / 456.5 MB, free: 2.492 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.09727, allocations: 3.938 kB / 456.5 MB, free: 2.488 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.09738, allocations: 334.8 kB / 456.8 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.09744, allocations: 23.98 kB / 456.8 MB, free: 2.129 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.89e-05/0.09752, allocations: 46.56 kB / 456.9 MB, free: 2.074 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/0.09797, allocations: 154.4 kB / 457 MB, free: 1.914 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.09799, allocations: 0 / 457 MB, free: 1.914 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002044/0.0982, allocations: 133.4 kB / 457.1 MB, free: 1.777 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.09822, allocations: 8 kB / 457.2 MB, free: 1.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.09823, allocations: 0 / 457.2 MB, free: 1.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.09825, allocations: 4 kB / 457.2 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.09839, allocations: 23.98 kB / 457.2 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.09841, allocations: 4.25 kB / 457.2 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/0.0985, allocations: 15.78 kB / 457.2 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.09852, allocations: 4 kB / 457.2 MB, free: 1.719 MB / 314.7 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tho:VARIABLE(min = 0.0 start = 335.9832537028189 unit = "K" fixed = true nominal = 300.0 ) type: Real 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 (14): * Single equations (assignments): 14 * 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.0001695/0.09869, allocations: 153.8 kB / 457.4 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.09874, allocations: 19.72 kB / 457.4 MB, free: 1.539 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.0988, allocations: 25.73 kB / 457.4 MB, free: 1.512 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.0988, allocations: 0 / 457.4 MB, free: 1.512 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.09882, allocations: 3.938 kB / 457.4 MB, free: 1.508 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.09882, allocations: 3.938 kB / 457.4 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.09907, allocations: 245.6 kB / 457.6 MB, free: 1.215 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.09908, allocations: 0 / 457.6 MB, free: 1.215 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.09924, allocations: 23.98 kB / 457.7 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.09925, allocations: 0 / 457.7 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.09927, allocations: 0 / 457.7 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.09928, allocations: 0 / 457.7 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.09929, allocations: 3.938 kB / 457.7 MB, free: 1.188 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.09956, allocations: 231.2 kB / 457.9 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.09963, allocations: 96.84 kB / 458 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.09967, allocations: 4 kB / 458 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.09978, allocations: 8.062 kB / 458 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.09981, allocations: 7.938 kB / 458 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.09982, allocations: 3.984 kB / 458 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.09998, allocations: 186 kB / 458.2 MB, free: 0.625 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09999, allocations: 0 / 458.2 MB, free: 0.625 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.1002, allocations: 36 kB / 458.2 MB, free: 0.5898 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * 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 9.606e-05/0.1003, allocations: 103.2 kB / 458.3 MB, free: 488 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.1005, allocations: 71.98 kB / 458.4 MB, free: 416 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1005, allocations: 4.062 kB / 458.4 MB, free: 412 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.006e-05/0.1006, allocations: 31.92 kB / 458.4 MB, free: 380 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1009, allocations: 36.88 kB / 458.5 MB, free: 340 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007992/0.1017, allocations: 0.59 MB / 459.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.102, allocations: 0.7326 MB / 459.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.1021, allocations: 30.27 kB / 459.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.1022, allocations: 19.44 kB / 459.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of SimCode: time 3e-07/0.1022, allocations: 0 / 459.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of Templates: time 0.004422/0.1066, allocations: 2.02 MB / 461.9 MB, free: 12.89 MB / 330.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.sim & ./AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1)