Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 72.52 kB / 19.95 MB, free: 4.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 169.2 kB / 23.23 MB, free: 1.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9171/0.9171, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06273/0.06273, allocations: 18.13 MB / 278.1 MB, free: 11.52 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop,fileNamePrefix="AES_AES_Coursework_Tuning_brushup_MSL_electrical_thermal_OpenLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop,fileNamePrefix="AES_AES_Coursework_Tuning_brushup_MSL_electrical_thermal_OpenLoop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 415.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.91e-05, allocations: 4 kB / 415.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.002134/0.002153, allocations: 2.199 MB / 417.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006987/0.002852, allocations: 0.5258 MB / 417.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.00297, allocations: 2.75 kB / 417.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.003078, allocations: 33.45 kB / 417.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.003167, allocations: 64.27 kB / 417.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.003298, allocations: 42.78 kB / 417.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.003463, allocations: 228.5 kB / 418.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.003606, allocations: 67.78 kB / 418.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.003689, allocations: 75.91 kB / 418.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.003794, allocations: 68.67 kB / 418.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.003828, allocations: 18.31 kB / 418.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.272e-05/0.003851, allocations: 16.84 kB / 418.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/0.003877, allocations: 43.62 kB / 418.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.003931, allocations: 65.77 kB / 418.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.004149, allocations: 221.1 kB / 418.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.004152, allocations: 0.9688 kB / 418.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.004153, allocations: 0 / 418.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.004159, allocations: 0.6562 kB / 418.7 MB, free: 10.46 MB / 330.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.000433/0.004592, allocations: 404.8 kB / 419.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.00463, allocations: 14.16 kB / 419.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.004668, allocations: 58.02 kB / 419.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.004705, allocations: 23.2 kB / 419.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.004884, allocations: 150.2 kB / 419.4 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.004899, allocations: 18.22 kB / 419.4 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.004931, allocations: 16.88 kB / 419.4 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.005178, allocations: 198 kB / 419.6 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.00519, allocations: 4.688 kB / 419.6 MB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.005205, allocations: 14.38 kB / 419.6 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.005213, allocations: 5.344 kB / 419.6 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.005393, allocations: 123.8 kB / 419.7 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.006028, allocations: 0.593 MB / 420.3 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.006243, allocations: 123 kB / 420.4 MB, free: 9.203 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.006321, allocations: 61.47 kB / 420.5 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.006333, allocations: 2.25 kB / 420.5 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.006347, allocations: 36.81 kB / 420.5 MB, free: 9.133 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.006348, allocations: 0 / 420.5 MB, free: 9.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002753/0.006623, allocations: 170.4 kB / 420.7 MB, free: 9.051 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.733e-05/0.00664, allocations: 53.53 kB / 420.8 MB, free: 8.988 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.737e-05/0.006698, allocations: 130.4 kB / 420.9 MB, free: 8.875 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.006706, allocations: 31.02 kB / 420.9 MB, free: 8.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.006746, allocations: 132.1 kB / 421 MB, free: 8.723 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.006772, allocations: 62.69 kB / 421.1 MB, free: 8.672 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.00681, allocations: 34.69 kB / 421.1 MB, free: 8.645 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.222e-05/0.006842, allocations: 322.6 kB / 421.5 MB, free: 8.328 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.006903, allocations: 37.53 kB / 421.5 MB, free: 8.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.137e-05/0.006975, allocations: 73.75 kB / 421.6 MB, free: 8.266 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.007104, allocations: 126.1 kB / 421.7 MB, free: 8.188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007106, allocations: 1.219 kB / 421.7 MB, free: 8.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001744/0.00728, allocations: 163.3 kB / 421.8 MB, free: 8.105 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.007294, allocations: 10.19 kB / 421.9 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.0073, allocations: 3.031 kB / 421.9 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.007312, allocations: 5.156 kB / 421.9 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.007416, allocations: 38.84 kB / 421.9 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.007424, allocations: 6.938 kB / 421.9 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.729e-05/0.007461, allocations: 19.88 kB / 421.9 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.007469, allocations: 4.656 kB / 421.9 MB, free: 8.078 MB / 330.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 6.285e-05/0.007532, allocations: 126.8 kB / 422.1 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.00755, allocations: 13.3 kB / 422.1 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.007579, allocations: 24.72 kB / 422.1 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.007582, allocations: 5.234 kB / 422.1 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.007587, allocations: 1.219 kB / 422.1 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.007591, allocations: 0.8438 kB / 422.1 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.007753, allocations: 215.7 kB / 422.3 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.007755, allocations: 1.953 kB / 422.3 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.007858, allocations: 42 kB / 422.4 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.00786, allocations: 0.6094 kB / 422.4 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.007869, allocations: 9 kB / 422.4 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.00787, allocations: 1.062 kB / 422.4 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.007872, allocations: 1.875 kB / 422.4 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.008132, allocations: 280 kB / 422.6 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.008147, allocations: 12.92 kB / 422.7 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.008161, allocations: 9.484 kB / 422.7 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.738e-05/0.008219, allocations: 12.89 kB / 422.7 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.008261, allocations: 13.83 kB / 422.7 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.008267, allocations: 3.656 kB / 422.7 MB, free: 7.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.607e-05/0.008303, allocations: 98.52 kB / 422.8 MB, free: 7.414 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008304, allocations: 1.188 kB / 422.8 MB, free: 7.414 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001946/0.008498, allocations: 51.31 kB / 422.8 MB, free: 7.398 MB / 330.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.0003635/0.008862, allocations: 0.8211 MB / 423.7 MB, free: 6.672 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.009034, allocations: 111.5 kB / 423.8 MB, free: 6.633 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.009035, allocations: 1.344 kB / 423.8 MB, free: 6.633 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.087e-05/0.009096, allocations: 52.28 kB / 423.8 MB, free: 6.617 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.009291, allocations: 12.12 kB / 423.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.01059, allocations: 1.854 MB / 425.7 MB, free: 5.105 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.814e-05/0.01068, allocations: 108.8 kB / 425.8 MB, free: 5.027 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.248e-05/0.01073, allocations: 21.19 kB / 425.8 MB, free: 5.016 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.0108, allocations: 47.86 kB / 425.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0108, allocations: 0 / 425.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.02651, allocations: 3.535 MB / 429.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.829/6.855, allocations: 8.438 kB / 429.4 MB, free: 3.906 MB / 330.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Tuning_brushup_MSL_electrical_thermal_OpenLoop_fmu --startTime=0 --stopTime=15000 --stepSize=1.875 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Tuning_brushup_MSL_electrical_thermal_OpenLoop.fmu > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.810130981728435] Failed to read output from testmodel.py, exit status != 0: 6.9346488285809755 6.945014191 6.938897902 Calling exit ...