Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.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.Tuning_brushup.MSL_electrical_thermal_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control") translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07797/0.07797, allocations: 19.39 MB / 34.65 MB, free: 204 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.0008819/0.000882, allocations: 182.9 kB / 40.28 MB, free: 6.535 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.434/1.434, allocations: 225.7 MB / 271.5 MB, free: 2.906 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.0007586/0.0007587, allocations: 99.73 kB / 327.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003027, allocations: 8 kB / 395.4 MB, free: 47.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08427/0.08459, allocations: 55.18 MB / 450.6 MB, free: 8.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.003075/0.0877, allocations: 2.699 MB / 453.3 MB, free: 5.875 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.08903, allocations: 0.8379 MB / 454.1 MB, free: 5.031 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.08924, allocations: 11.94 kB / 454.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.08944, allocations: 51.56 kB / 454.2 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.0897, allocations: 83.31 kB / 454.2 MB, free: 4.887 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.09009, allocations: 183.7 kB / 454.4 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003974/0.0905, allocations: 446.9 kB / 454.9 MB, free: 4.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.0908, allocations: 189.7 kB / 455 MB, free: 4.078 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.09093, allocations: 131.3 kB / 455.2 MB, free: 3.949 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.09112, allocations: 151.1 kB / 455.3 MB, free: 3.801 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.09116, allocations: 12 kB / 455.3 MB, free: 3.789 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.212e-05/0.09121, allocations: 16 kB / 455.3 MB, free: 3.773 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.09127, allocations: 55.7 kB / 455.4 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.09143, allocations: 192.6 kB / 455.6 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.09181, allocations: 422.3 kB / 456 MB, free: 3.109 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.09182, allocations: 0 / 456 MB, free: 3.109 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09183, allocations: 0 / 456 MB, free: 3.109 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.09184, allocations: 0 / 456 MB, free: 3.109 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0008684/0.09272, allocations: 0.6199 MB / 456.6 MB, free: 2.441 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.09277, allocations: 17.16 kB / 456.6 MB, free: 2.426 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.09284, allocations: 40.47 kB / 456.7 MB, free: 2.387 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.09321, allocations: 327.2 kB / 457 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.681e-05/0.09329, allocations: 21.38 kB / 457 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.09335, allocations: 44.3 kB / 457.1 MB, free: 1.965 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005994/0.09396, allocations: 372.2 kB / 457.4 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.09398, allocations: 3.984 kB / 457.4 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.09402, allocations: 12 kB / 457.4 MB, free: 1.566 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.09404, allocations: 8 kB / 457.4 MB, free: 1.559 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.09454, allocations: 255.8 kB / 457.7 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.09634, allocations: 1.326 MB / 459 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006596/0.09702, allocations: 305.8 kB / 459.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.09728, allocations: 121.3 kB / 459.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.09731, allocations: 4.234 kB / 459.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.09734, allocations: 34.8 kB / 459.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.393e-06/0.09735, allocations: 4 kB / 459.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006891/0.09805, allocations: 341.8 kB / 459.8 MB, free: 15.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.09812, allocations: 81.11 kB / 459.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.09836, allocations: 263 kB / 460.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.0984, allocations: 33.7 kB / 460.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.09853, allocations: 216 kB / 460.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.09861, allocations: 98.58 kB / 460.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.09862, allocations: 4 kB / 460.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.09877, allocations: 338.8 kB / 460.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.09895, allocations: 83.95 kB / 460.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.09918, allocations: 155.4 kB / 461.1 MB, free: 13.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.0996, allocations: 253.4 kB / 461.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.09961, allocations: 4 kB / 461.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005237/0.1001, allocations: 312.1 kB / 461.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.007e-05/0.1002, allocations: 138.3 kB / 461.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1002, allocations: 3.984 kB / 461.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.1003, allocations: 4 kB / 461.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.1006, allocations: 75.84 kB / 461.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1006, allocations: 4 kB / 461.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.1008, allocations: 31.73 kB / 461.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.1008, allocations: 12 kB / 461.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/0.1008, allocations: 4 kB / 461.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003706/0.1012, allocations: 227.8 kB / 462.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.1012, allocations: 4 kB / 462.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-06/0.1012, allocations: 0 / 462.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.1015, allocations: 67.84 kB / 462.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1015, allocations: 4 kB / 462.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.1016, allocations: 31.78 kB / 462.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1017, allocations: 8 kB / 462.2 MB, free: 12.55 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.000174/0.1018, allocations: 233.2 kB / 462.4 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.1019, allocations: 31.56 kB / 462.5 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005276/0.1024, allocations: 279.6 kB / 462.8 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1025, allocations: 4 kB / 462.8 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1025, allocations: 8 kB / 462.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1025, allocations: 0 / 462.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.1029, allocations: 397.2 kB / 463.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.103, allocations: 0 / 463.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.1032, allocations: 71.78 kB / 463.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1033, allocations: 4 kB / 463.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.1033, allocations: 7.984 kB / 463.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1033, allocations: 0 / 463.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1033, allocations: 0 / 463.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/0.104, allocations: 475 kB / 463.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.1041, allocations: 132.6 kB / 463.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.1042, allocations: 4 kB / 463.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.1044, allocations: 23.98 kB / 463.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.1044, allocations: 15.97 kB / 463.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1045, allocations: 8 kB / 463.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001687/0.1046, allocations: 186 kB / 464.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1047, allocations: 0 / 464.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004387/0.1051, allocations: 151.4 kB / 464.2 MB, free: 10.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Cbody.T,PID.I.y,Ccont.T) * 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 (28): * Single equations (assignments): 28 * 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.0001334/0.1052, allocations: 115.2 kB / 464.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006704/0.1059, allocations: 343.5 kB / 464.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1059, allocations: 8.125 kB / 464.7 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.1061, allocations: 122.9 kB / 464.8 MB, free: 9.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.1067, allocations: 69.91 kB / 464.9 MB, free: 9.816 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.1081, allocations: 0.9759 MB / 465.8 MB, free: 8.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1084, allocations: 0.7918 MB / 466.6 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001925/0.1086, allocations: 38.95 kB / 466.7 MB, free: 7.949 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.915e-05/0.1087, allocations: 23.44 kB / 466.7 MB, free: 7.926 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1087, allocations: 0 / 466.7 MB, free: 7.926 MB / 330.7 MB Notification: Performance of Templates: time 0.006077/0.1148, allocations: 2.939 MB / 469.6 MB, free: 5 MB / 330.7 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.makefile (rm -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe 2>&1)