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_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_Transport.HE_simple_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002") translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.1326/0.1326, allocations: 19.39 MB / 34.65 MB, free: 56 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.001002/0.001002, allocations: 178.3 kB / 40.28 MB, free: 6.52 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.329/1.329, allocations: 225.7 MB / 271.5 MB, free: 3.262 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.0007584/0.0007584, allocations: 95.77 kB / 327.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002839, allocations: 8 kB / 395.4 MB, free: 47.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08661/0.08691, allocations: 55.18 MB / 450.6 MB, free: 8.645 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_002): time 0.002752/0.08973, allocations: 2.355 MB / 452.9 MB, free: 6.277 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008385/0.0906, allocations: 0.5168 MB / 453.4 MB, free: 5.723 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.09074, allocations: 11.94 kB / 453.4 MB, free: 5.711 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 7.786e-05/0.09082, allocations: 23.77 kB / 453.5 MB, free: 5.688 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.09109, allocations: 103.2 kB / 453.6 MB, free: 5.586 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.09128, allocations: 55.95 kB / 453.6 MB, free: 5.531 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.09156, allocations: 330.3 kB / 453.9 MB, free: 5.207 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.09181, allocations: 137.7 kB / 454.1 MB, free: 5.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.09197, allocations: 127.3 kB / 454.2 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.09213, allocations: 107.4 kB / 454.3 MB, free: 4.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.09217, allocations: 12 kB / 454.3 MB, free: 4.828 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.09228, allocations: 51.95 kB / 454.4 MB, free: 4.777 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.053e-05/0.09233, allocations: 39.78 kB / 454.4 MB, free: 4.738 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.09246, allocations: 157 kB / 454.6 MB, free: 4.578 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.09273, allocations: 282.9 kB / 454.8 MB, free: 4.301 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.09275, allocations: 0 / 454.8 MB, free: 4.301 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09275, allocations: 0 / 454.8 MB, free: 4.301 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.09276, allocations: 0 / 454.8 MB, free: 4.301 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006771/0.09344, allocations: 0.5143 MB / 455.4 MB, free: 3.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.09349, allocations: 9.156 kB / 455.4 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.09355, allocations: 36.5 kB / 455.4 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.09385, allocations: 278.7 kB / 455.7 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.09388, allocations: 16.75 kB / 455.7 MB, free: 3.363 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.09392, allocations: 16.38 kB / 455.7 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.09425, allocations: 204.5 kB / 455.9 MB, free: 3.133 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.09427, allocations: 12.12 kB / 455.9 MB, free: 3.121 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.0943, allocations: 15.92 kB / 455.9 MB, free: 3.105 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.09431, allocations: 4 kB / 455.9 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.09454, allocations: 116.9 kB / 456 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009859/0.09554, allocations: 0.8262 MB / 456.9 MB, free: 2.102 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.0958, allocations: 110.7 kB / 457 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.152e-05/0.09589, allocations: 40.84 kB / 457 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.09592, allocations: 4 kB / 457 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.09595, allocations: 34.56 kB / 457.1 MB, free: 1.895 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.09595, allocations: 0 / 457.1 MB, free: 1.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003142/0.09627, allocations: 141.3 kB / 457.2 MB, free: 1.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.09631, allocations: 51.41 kB / 457.2 MB, free: 1.688 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.09658, allocations: 287.3 kB / 457.5 MB, free: 1.395 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.09661, allocations: 29.7 kB / 457.6 MB, free: 1.359 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.09673, allocations: 171.6 kB / 457.7 MB, free: 1.188 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.09676, allocations: 31.55 kB / 457.8 MB, free: 1.156 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.09677, allocations: 4 kB / 457.8 MB, free: 1.152 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.0969, allocations: 334.8 kB / 458.1 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-05/0.09697, allocations: 31.98 kB / 458.1 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-05/0.09706, allocations: 66.42 kB / 458.2 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.09817, allocations: 250.3 kB / 458.4 MB, free: 468 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.09818, allocations: 0 / 458.4 MB, free: 468 kB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002483/0.09844, allocations: 161.3 kB / 458.6 MB, free: 300 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.09846, allocations: 7.984 kB / 458.6 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.09847, allocations: 0 / 458.6 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.0985, allocations: 12 kB / 458.6 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.0987, allocations: 36.36 kB / 458.6 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.09872, allocations: 0 / 458.6 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.09885, allocations: 11.84 kB / 458.7 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.09888, allocations: 4 kB / 458.7 MB, free: 228 kB / 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 (18): * Single equations (assignments): 18 * 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.0001997/0.09908, allocations: 153.7 kB / 458.8 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.09913, allocations: 27.62 kB / 458.8 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.09945, allocations: 151.5 kB / 459 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.09946, allocations: 3.938 kB / 459 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.09947, allocations: 4 kB / 459 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.09948, allocations: 0 / 459 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.09975, allocations: 273.5 kB / 459.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.09977, allocations: 4 kB / 459.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.09995, allocations: 27.92 kB / 459.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.09996, allocations: 0 / 459.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.09998, allocations: 8 kB / 459.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.09999, allocations: 3.938 kB / 459.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1, allocations: 0 / 459.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.1003, allocations: 271.1 kB / 459.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.579e-05/0.1004, allocations: 100.8 kB / 459.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.1005, allocations: 4 kB / 459.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1006, allocations: 7.938 kB / 459.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.1006, allocations: 15.92 kB / 459.7 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.1006, allocations: 4 kB / 459.7 MB, free: 15.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.1008, allocations: 203.1 kB / 459.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1008, allocations: 0 / 459.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000266/0.1011, allocations: 55.91 kB / 459.9 MB, free: 14.82 MB / 330.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 (13): * Single equations (assignments): 13 * 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.0001398/0.1012, allocations: 115.2 kB / 460.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.1015, allocations: 95.91 kB / 460.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1015, allocations: 0 / 460.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.1015, allocations: 47.92 kB / 460.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1019, allocations: 52.75 kB / 460.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1031, allocations: 0.7145 MB / 461 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.1034, allocations: 0.756 MB / 461.7 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.1035, allocations: 34.28 kB / 461.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.1036, allocations: 23.44 kB / 461.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1036, allocations: 0 / 461.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of Templates: time 0.005593/0.1092, allocations: 2.497 MB / 464.3 MB, free: 10.44 MB / 330.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002.sim & ./AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002.pipe 2>&1)