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_OpenLoop.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_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07841/0.07841, allocations: 19.4 MB / 34.65 MB, free: 60 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.0009363/0.000937, allocations: 175.4 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.468/1.468, 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.0007754/0.0007754, allocations: 87.78 kB / 327.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003195, allocations: 8 kB / 395.4 MB, free: 47.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.088, allocations: 55.18 MB / 450.6 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.002293/0.09033, allocations: 1.906 MB / 452.5 MB, free: 6.738 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007692/0.09113, allocations: 0.499 MB / 453 MB, free: 6.234 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.09126, allocations: 4 kB / 453 MB, free: 6.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.09138, allocations: 15.84 kB / 453 MB, free: 6.215 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.09151, allocations: 55.55 kB / 453 MB, free: 6.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.09166, allocations: 31.97 kB / 453.1 MB, free: 6.129 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.0919, allocations: 214.9 kB / 453.3 MB, free: 5.918 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.0921, allocations: 80.55 kB / 453.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.0922, allocations: 75.7 kB / 453.4 MB, free: 5.762 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.09232, allocations: 75.64 kB / 453.5 MB, free: 5.688 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.09235, allocations: 8 kB / 453.5 MB, free: 5.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.236e-05/0.09239, allocations: 12 kB / 453.5 MB, free: 5.668 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.418e-05/0.09243, allocations: 31.84 kB / 453.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.786e-05/0.09253, allocations: 105.3 kB / 453.7 MB, free: 5.527 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.09273, allocations: 199.2 kB / 453.9 MB, free: 5.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.09275, allocations: 4 kB / 453.9 MB, free: 5.328 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09275, allocations: 0 / 453.9 MB, free: 5.328 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.09277, allocations: 0 / 453.9 MB, free: 5.328 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005734/0.09335, allocations: 447.4 kB / 454.3 MB, free: 4.844 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.09339, allocations: 9.156 kB / 454.3 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.09347, allocations: 28.64 kB / 454.3 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.09372, allocations: 212 kB / 454.5 MB, free: 4.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.09375, allocations: 16.81 kB / 454.6 MB, free: 4.547 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.0938, allocations: 20.38 kB / 454.6 MB, free: 4.527 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.09412, allocations: 175.6 kB / 454.7 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.09415, allocations: 0 / 454.7 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.09417, allocations: 12 kB / 454.8 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.09419, allocations: 11.92 kB / 454.8 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.09446, allocations: 117.7 kB / 454.9 MB, free: 4.207 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009852/0.09545, allocations: 0.6796 MB / 455.6 MB, free: 3.465 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.09575, allocations: 130.5 kB / 455.7 MB, free: 3.328 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.09589, allocations: 68.83 kB / 455.8 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.09592, allocations: 0 / 455.8 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.09595, allocations: 38.56 kB / 455.8 MB, free: 3.211 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.09596, allocations: 0 / 455.8 MB, free: 3.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003952/0.09636, allocations: 174.1 kB / 456 MB, free: 3.035 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.09641, allocations: 55.34 kB / 456 MB, free: 2.969 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.09652, allocations: 125.8 kB / 456.1 MB, free: 2.836 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.09654, allocations: 29.7 kB / 456.2 MB, free: 2.801 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.09662, allocations: 136 kB / 456.3 MB, free: 2.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.09666, allocations: 51.27 kB / 456.4 MB, free: 2.609 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.09667, allocations: 4 kB / 456.4 MB, free: 2.605 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.09677, allocations: 322.8 kB / 456.7 MB, free: 2.281 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.416e-05/0.09687, allocations: 43.97 kB / 456.7 MB, free: 2.238 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.09698, allocations: 63.42 kB / 456.8 MB, free: 2.164 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.09719, allocations: 127.2 kB / 456.9 MB, free: 2.027 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.0972, allocations: 4 kB / 456.9 MB, free: 2.023 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002613/0.09747, allocations: 157.4 kB / 457.1 MB, free: 1.863 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.09749, allocations: 4 kB / 457.1 MB, free: 1.859 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.0975, allocations: 3.938 kB / 457.1 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.09752, allocations: 4 kB / 457.1 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.09774, allocations: 47.91 kB / 457.1 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.09776, allocations: 4 kB / 457.1 MB, free: 1.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.902e-05/0.09786, allocations: 12 kB / 457.1 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.09788, allocations: 12 kB / 457.1 MB, free: 1.777 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (21): * Single equations (assignments): 21 * 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 9.427e-05/0.09798, allocations: 127.7 kB / 457.3 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.09802, allocations: 23.83 kB / 457.3 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.09806, allocations: 12.84 kB / 457.3 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.09807, allocations: 4 kB / 457.3 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.09808, allocations: 0 / 457.3 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.09809, allocations: 0 / 457.3 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.09837, allocations: 257.5 kB / 457.6 MB, free: 1.309 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.09838, allocations: 4 kB / 457.6 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.09857, allocations: 35.92 kB / 457.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.09858, allocations: 3.938 kB / 457.6 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.09861, allocations: 7.938 kB / 457.6 MB, free: 1.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.09862, allocations: 7.984 kB / 457.6 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.09862, allocations: 0 / 457.6 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.09903, allocations: 279.6 kB / 457.9 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.09911, allocations: 96.98 kB / 458 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.09914, allocations: 8 kB / 458 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.09926, allocations: 7.984 kB / 458 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.09931, allocations: 11.97 kB / 458 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.09933, allocations: 12 kB / 458 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.474e-05/0.09939, allocations: 95.27 kB / 458.1 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0994, allocations: 0 / 458.1 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.09967, allocations: 47.84 kB / 458.2 MB, free: 0.668 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Cbody.T,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 (16): * Single equations (assignments): 16 * 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.000112/0.09978, allocations: 112.7 kB / 458.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.1001, allocations: 115.7 kB / 458.4 MB, free: 444 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1001, allocations: 0 / 458.4 MB, free: 444 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.985e-05/0.1002, allocations: 55.92 kB / 458.4 MB, free: 388 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.1005, allocations: 19.92 kB / 458.5 MB, free: 368 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008265/0.1013, allocations: 0.586 MB / 459.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1016, allocations: 0.7204 MB / 459.8 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.371e-05/0.1017, allocations: 8.641 kB / 459.8 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.1017, allocations: 15.44 kB / 459.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1017, allocations: 4 kB / 459.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of Templates: time 0.00319/0.1049, allocations: 1.102 MB / 460.9 MB, free: 13.87 MB / 330.7 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.makefile (rm -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1)