Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.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.0008124/0.0008124, allocations: 84.44 kB / 20.71 MB, free: 3.859 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.0008031/0.0008031, allocations: 165.2 kB / 23.98 MB, free: 0.5859 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.8367/0.8367, allocations: 177.1 MB / 204.3 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.05887/0.05887, allocations: 18.13 MB / 278.8 MB, free: 11.53 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: translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,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=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 416.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.332e-05, allocations: 2.281 kB / 416.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.00255/0.002574, allocations: 2.977 MB / 419.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.003589, allocations: 0.8999 MB / 420.2 MB, free: 9.895 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.003758, allocations: 13 kB / 420.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.003926, allocations: 68.41 kB / 420.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.004126, allocations: 114.2 kB / 420.4 MB, free: 9.758 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.00443, allocations: 205.4 kB / 420.6 MB, free: 9.641 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.004731, allocations: 481.9 kB / 421.1 MB, free: 9.391 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.004943, allocations: 144.4 kB / 421.2 MB, free: 9.312 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.005059, allocations: 167.6 kB / 421.4 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.005217, allocations: 127.6 kB / 421.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.005261, allocations: 39.19 kB / 421.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.894e-05/0.0053, allocations: 38.88 kB / 421.6 MB, free: 9.184 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.005347, allocations: 92.88 kB / 421.7 MB, free: 9.117 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.116e-05/0.005438, allocations: 131.4 kB / 421.8 MB, free: 9.055 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.005813, allocations: 475.4 kB / 422.2 MB, free: 8.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.005816, allocations: 0 / 422.2 MB, free: 8.855 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005817, allocations: 0 / 422.2 MB, free: 8.855 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.005823, allocations: 1.375 kB / 422.2 MB, free: 8.855 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0006389/0.006462, allocations: 0.6308 MB / 422.9 MB, free: 8.379 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.006494, allocations: 9.641 kB / 422.9 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.006555, allocations: 48.34 kB / 422.9 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.006842, allocations: 269.8 kB / 423.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.006865, allocations: 28.77 kB / 423.2 MB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.006905, allocations: 35.25 kB / 423.3 MB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.007342, allocations: 451.1 kB / 423.7 MB, free: 7.828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.007359, allocations: 5.375 kB / 423.7 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.007383, allocations: 12.06 kB / 423.7 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.007392, allocations: 15.78 kB / 423.7 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.00772, allocations: 249 kB / 424 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.008768, allocations: 1.06 MB / 425 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.009192, allocations: 273.4 kB / 425.3 MB, free: 6.879 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.009328, allocations: 111.9 kB / 425.4 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.009353, allocations: 12.36 kB / 425.4 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/0.009366, allocations: 33.09 kB / 425.5 MB, free: 6.785 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.352e-06/0.009368, allocations: 1.469 kB / 425.5 MB, free: 6.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.000435/0.009803, allocations: 328.5 kB / 425.8 MB, free: 6.645 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.00983, allocations: 110.8 kB / 425.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.00998, allocations: 255 kB / 426.1 MB, free: 6.363 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.009995, allocations: 35.23 kB / 426.2 MB, free: 6.324 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.01007, allocations: 222.4 kB / 426.4 MB, free: 6.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.01011, allocations: 98 kB / 426.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.01018, allocations: 59.23 kB / 426.5 MB, free: 6.023 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.282e-05/0.01022, allocations: 339.7 kB / 426.9 MB, free: 5.699 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.01035, allocations: 87.44 kB / 427 MB, free: 5.664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.01049, allocations: 214.3 kB / 427.2 MB, free: 5.488 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.01074, allocations: 246.4 kB / 427.4 MB, free: 5.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01074, allocations: 0.6562 kB / 427.4 MB, free: 5.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003448/0.01108, allocations: 305.7 kB / 427.7 MB, free: 5.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.0111, allocations: 5.922 kB / 427.7 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.0111, allocations: 6.031 kB / 427.7 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.01112, allocations: 2.625 kB / 427.7 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.01128, allocations: 67.39 kB / 427.8 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01129, allocations: 3.531 kB / 427.8 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.372e-05/0.01137, allocations: 36.27 kB / 427.8 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.01138, allocations: 9.031 kB / 427.8 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001364/0.01152, allocations: 181.3 kB / 428 MB, free: 5.043 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001137/0.01163, allocations: 205.9 kB / 428.2 MB, free: 4.863 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001901/0.01182, allocations: 211.1 kB / 428.4 MB, free: 4.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.01182, allocations: 0 / 428.4 MB, free: 4.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0002553/0.01208, allocations: 278.6 kB / 428.7 MB, free: 4.598 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.633e-06/0.01209, allocations: 5.625 kB / 428.7 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.01209, allocations: 6.188 kB / 428.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.01209, allocations: 7.859 kB / 428.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.01223, allocations: 66.25 kB / 428.8 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.01223, allocations: 4.688 kB / 428.8 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.01231, allocations: 21.17 kB / 428.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.01232, allocations: 11.78 kB / 428.8 MB, free: 4.566 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 5.642e-05/0.01237, allocations: 198.8 kB / 429 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.0124, allocations: 29.38 kB / 429 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.01272, allocations: 274.4 kB / 429.3 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01272, allocations: 3.5 kB / 429.3 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01273, allocations: 0 / 429.3 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.01273, allocations: 7.859 kB / 429.3 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.01295, allocations: 275.9 kB / 429.6 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01296, allocations: 1.188 kB / 429.6 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.0131, allocations: 57.47 kB / 429.6 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.0131, allocations: 5.188 kB / 429.6 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.01311, allocations: 7.266 kB / 429.7 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.01312, allocations: 9.188 kB / 429.7 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01312, allocations: 0 / 429.7 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.01355, allocations: 481.7 kB / 430.1 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.01361, allocations: 50.22 kB / 430.2 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.01363, allocations: 5.875 kB / 430.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.945e-05/0.01372, allocations: 22.52 kB / 430.2 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.01376, allocations: 15.14 kB / 430.2 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.01377, allocations: 9.828 kB / 430.2 MB, free: 3.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.478e-05/0.01386, allocations: 181.6 kB / 430.4 MB, free: 3.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01386, allocations: 0 / 430.4 MB, free: 3.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002806/0.01414, allocations: 149.1 kB / 430.6 MB, free: 3.527 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 7.546e-05/0.01422, allocations: 107.2 kB / 430.7 MB, free: 3.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.01461, allocations: 327.8 kB / 431 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01461, allocations: 0 / 431 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.01473, allocations: 109 kB / 431.1 MB, free: 3.289 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.01503, allocations: 72.53 kB / 431.2 MB, free: 3.262 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008237/0.01585, allocations: 0.7209 MB / 431.9 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.01597, allocations: 187.6 kB / 432.1 MB, free: 2.707 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.01603, allocations: 26.53 kB / 432.1 MB, free: 2.695 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01603, allocations: 0 / 432.1 MB, free: 2.695 MB / 330.7 MB Notification: Performance of Templates: time 0.004299/0.02033, allocations: 4.028 MB / 436.1 MB, free: 1.648 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.makefile [Timeout 660] (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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3466250924393535] Failed to read output from testmodel.py, exit status != 0: 0.025155422277748585 0.03331969 0.025700015000000003 Calling exit ...