Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.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.0008602/0.0008602, allocations: 71.59 kB / 20.8 MB, free: 3.711 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.0009508/0.0009508, allocations: 165.3 kB / 24.09 MB, free: 424 kB / 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.8876/0.8876, allocations: 177.1 MB / 204.4 MB, free: 5.707 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.06713/0.06713, allocations: 18.12 MB / 279 MB, free: 11.48 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.ElecSys_generator_models.BoilerFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.BoilerFollows") translateModel(AES.Coursework.ElecSys_generator_models.BoilerFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.BoilerFollows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 416.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.248e-05, allocations: 4.5 kB / 416.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.00245/0.002472, allocations: 2.775 MB / 419.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.003699, allocations: 1.039 MB / 420.4 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.00389, allocations: 27.53 kB / 420.4 MB, free: 9.703 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.004078, allocations: 83.47 kB / 420.5 MB, free: 9.641 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.004217, allocations: 96.98 kB / 420.6 MB, free: 9.562 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.004705, allocations: 328 kB / 420.9 MB, free: 9.379 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.005117, allocations: 0.5581 MB / 421.4 MB, free: 9.086 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.005337, allocations: 158 kB / 421.6 MB, free: 9 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.005488, allocations: 183 kB / 421.8 MB, free: 8.906 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.005635, allocations: 142 kB / 421.9 MB, free: 8.844 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.005689, allocations: 44.84 kB / 422 MB, free: 8.844 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.567e-05/0.005735, allocations: 49.97 kB / 422 MB, free: 8.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.005788, allocations: 105.4 kB / 422.1 MB, free: 8.766 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.49e-05/0.005873, allocations: 137 kB / 422.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000424/0.006297, allocations: 0.5533 MB / 422.8 MB, free: 8.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.006299, allocations: 0.75 kB / 422.8 MB, free: 8.426 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0063, allocations: 0 / 422.8 MB, free: 8.426 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.006309, allocations: 1.156 kB / 422.8 MB, free: 8.426 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0007499/0.007059, allocations: 0.7471 MB / 423.5 MB, free: 7.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.007095, allocations: 10.86 kB / 423.6 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/0.007159, allocations: 63.06 kB / 423.6 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.007535, allocations: 369.7 kB / 424 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.007559, allocations: 32.12 kB / 424 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.007601, allocations: 35.62 kB / 424 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/0.008087, allocations: 0.5327 MB / 424.6 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.008098, allocations: 192 / 424.6 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.00812, allocations: 13.31 kB / 424.6 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.008129, allocations: 12.19 kB / 424.6 MB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.008509, allocations: 287.6 kB / 424.9 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.009587, allocations: 1.334 MB / 426.2 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.01007, allocations: 330.3 kB / 426.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.01023, allocations: 121.9 kB / 426.7 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.01026, allocations: 8 kB / 426.7 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.01027, allocations: 38.44 kB / 426.7 MB, free: 5.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.293e-06/0.01027, allocations: 0 / 426.7 MB, free: 5.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.000569/0.01084, allocations: 411.8 kB / 427.1 MB, free: 5.664 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.01087, allocations: 159.7 kB / 427.3 MB, free: 5.477 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.01116, allocations: 384.2 kB / 427.6 MB, free: 5.281 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.01118, allocations: 36.72 kB / 427.7 MB, free: 5.242 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.0113, allocations: 270.7 kB / 427.9 MB, free: 5.023 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.01135, allocations: 102.9 kB / 428 MB, free: 4.941 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.842e-05/0.01143, allocations: 70.2 kB / 428.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.555e-05/0.01148, allocations: 359.6 kB / 428.5 MB, free: 4.562 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.01165, allocations: 114.8 kB / 428.6 MB, free: 4.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.01185, allocations: 301.6 kB / 428.9 MB, free: 4.258 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008834/0.01273, allocations: 0.5226 MB / 429.4 MB, free: 4.016 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01273, allocations: 0 / 429.4 MB, free: 4.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004416/0.01318, allocations: 386.6 kB / 429.8 MB, free: 3.844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.01319, allocations: 5.594 kB / 429.8 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.0132, allocations: 2.859 kB / 429.8 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.01321, allocations: 7.031 kB / 429.8 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.0134, allocations: 71.14 kB / 429.8 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.01341, allocations: 7.969 kB / 429.9 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.01353, allocations: 39.83 kB / 429.9 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.01355, allocations: 12.72 kB / 429.9 MB, free: 3.805 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002231/0.01377, allocations: 212.6 kB / 430.1 MB, free: 3.664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001835/0.01395, allocations: 279.9 kB / 430.4 MB, free: 3.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007634/0.01471, allocations: 479.1 kB / 430.9 MB, free: 3.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.01472, allocations: 1.375 kB / 430.9 MB, free: 3.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003562/0.01507, allocations: 328.1 kB / 431.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/0.01508, allocations: 10.92 kB / 431.2 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.01508, allocations: 2.219 kB / 431.2 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-06/0.01509, allocations: 3.75 kB / 431.2 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.01524, allocations: 73.92 kB / 431.3 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.01524, allocations: 4.656 kB / 431.3 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.01535, allocations: 29.28 kB / 431.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.01537, allocations: 13.66 kB / 431.3 MB, free: 2.961 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (PIe.I.local_reset,PIp.I.local_reset,Gs.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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 8.518e-05/0.01545, allocations: 196.4 kB / 431.5 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.0155, allocations: 50.08 kB / 431.6 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/0.01557, allocations: 54.02 kB / 431.6 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01557, allocations: 6.094 kB / 431.6 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.01558, allocations: 6.047 kB / 431.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01558, allocations: 1.5 kB / 431.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.01589, allocations: 327.3 kB / 431.9 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01589, allocations: 0 / 431.9 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.01607, allocations: 57.64 kB / 432 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01607, allocations: 1.375 kB / 432 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.01609, allocations: 7.422 kB / 432 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01609, allocations: 5.172 kB / 432 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.01609, allocations: 3.938 kB / 432 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.0167, allocations: 0.5413 MB / 432.6 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.01679, allocations: 67.78 kB / 432.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.01682, allocations: 10.09 kB / 432.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.01693, allocations: 14.23 kB / 432.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.01698, allocations: 26.45 kB / 432.7 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.01699, allocations: 6.344 kB / 432.7 MB, free: 2.105 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002022/0.01719, allocations: 274.7 kB / 432.9 MB, free: 1.969 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01719, allocations: 0 / 432.9 MB, free: 1.969 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.01752, allocations: 146.2 kB / 433.1 MB, free: 1.922 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (F.y,Gs.y,T.y,PIp.I.y,PIe.I.y) * 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.969e-05/0.0176, allocations: 105.4 kB / 433.2 MB, free: 1.824 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005644/0.01817, allocations: 402.7 kB / 433.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01817, allocations: 0 / 433.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.01834, allocations: 126.3 kB / 433.7 MB, free: 1.652 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.01875, allocations: 126.9 kB / 433.8 MB, free: 1.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009363/0.01969, allocations: 0.7814 MB / 434.6 MB, free: 1.148 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.01987, allocations: 229 kB / 434.8 MB, free: 1.059 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001635/0.02003, allocations: 47.19 kB / 434.9 MB, free: 1.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.0201, allocations: 33.5 kB / 434.9 MB, free: 1.035 MB / 330.7 MB Notification: Performance of SimCode: time 3.8e-07/0.0201, allocations: 3.938 kB / 434.9 MB, free: 1.031 MB / 330.7 MB Notification: Performance of Templates: time 0.006571/0.02667, allocations: 4.513 MB / 439.4 MB, free: 15.46 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe ; mkfifo AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe >> ../files/AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.sim & ./AES_AES.Coursework.ElecSys_generator_models.BoilerFollows -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.9393319422379136] Failed to read output from testmodel.py, exit status != 0: 0.0317403320223093 0.040644421 0.032425459000000004 Calling exit ...