Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_basic.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.0007406/0.0007406, allocations: 75.7 kB / 20.8 MB, free: 3.715 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.0007573/0.0007573, allocations: 166 kB / 24.09 MB, free: 428 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.8636/0.8636, allocations: 177.1 MB / 204.4 MB, free: 5.719 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.05867/0.05867, allocations: 18.12 MB / 279 MB, free: 11.5 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.Typical_control_structures.Cascade_basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_basic") translateModel(AES.Coursework.Typical_control_structures.Cascade_basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_basic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 417.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.208e-05, allocations: 2.281 kB / 417.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.001974/0.002006, allocations: 1.819 MB / 419.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003571/0.002363, allocations: 186.6 kB / 419.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.533e-05/0.002449, allocations: 5.469 kB / 419.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.00258, allocations: 35.58 kB / 419.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.059e-05/0.002631, allocations: 22.3 kB / 419.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.002826, allocations: 88.66 kB / 419.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.003058, allocations: 243.6 kB / 419.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.003196, allocations: 45.28 kB / 419.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.003268, allocations: 78.53 kB / 419.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.003381, allocations: 64.45 kB / 419.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.003413, allocations: 19.53 kB / 419.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.445e-05/0.003438, allocations: 18.53 kB / 420 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.003491, allocations: 56.56 kB / 420 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.936e-05/0.00355, allocations: 64.33 kB / 420.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.003779, allocations: 199.8 kB / 420.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.003783, allocations: 0.6562 kB / 420.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.003784, allocations: 1.5 kB / 420.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.003789, allocations: 0 / 420.3 MB, free: 10.45 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005714/0.004361, allocations: 440.3 kB / 420.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.0044, allocations: 14.86 kB / 420.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.004449, allocations: 26.19 kB / 420.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.004654, allocations: 185.7 kB / 420.9 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.004689, allocations: 18.03 kB / 420.9 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.004734, allocations: 25.2 kB / 421 MB, free: 9.883 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.005098, allocations: 234.9 kB / 421.2 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.005111, allocations: 1.125 kB / 421.2 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.005129, allocations: 6.656 kB / 421.2 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.005138, allocations: 5.469 kB / 421.2 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.005368, allocations: 163.2 kB / 421.4 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.006532, allocations: 0.9128 MB / 422.3 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.006778, allocations: 147.7 kB / 422.4 MB, free: 8.922 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.25e-05/0.00687, allocations: 65.73 kB / 422.5 MB, free: 8.891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.006904, allocations: 8.438 kB / 422.5 MB, free: 8.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.006919, allocations: 36.72 kB / 422.5 MB, free: 8.844 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.064e-06/0.006922, allocations: 0 / 422.5 MB, free: 8.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004054/0.007327, allocations: 227.1 kB / 422.8 MB, free: 8.742 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.007357, allocations: 54.47 kB / 422.8 MB, free: 8.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.007494, allocations: 208.2 kB / 423 MB, free: 8.539 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.007507, allocations: 30.98 kB / 423 MB, free: 8.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.597e-05/0.007583, allocations: 159.7 kB / 423.2 MB, free: 8.363 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.007627, allocations: 84.17 kB / 423.3 MB, free: 8.297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.967e-05/0.007696, allocations: 75.67 kB / 423.3 MB, free: 8.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.321e-05/0.007749, allocations: 330.7 kB / 423.7 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.007859, allocations: 75.34 kB / 423.7 MB, free: 7.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.008027, allocations: 163 kB / 423.9 MB, free: 7.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008616/0.008888, allocations: 474.4 kB / 424.4 MB, free: 7.527 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.008893, allocations: 1.062 kB / 424.4 MB, free: 7.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003423/0.009235, allocations: 304.9 kB / 424.7 MB, free: 7.387 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.009254, allocations: 8.281 kB / 424.7 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.009261, allocations: 3.5 kB / 424.7 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.009283, allocations: 9.562 kB / 424.7 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.009472, allocations: 73.56 kB / 424.8 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.009481, allocations: 5.344 kB / 424.8 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.069e-05/0.009572, allocations: 42.23 kB / 424.8 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.00959, allocations: 16.59 kB / 424.8 MB, free: 7.348 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: P_I.y:VARIABLE(flow=false start = P_I.y_start fixed = true ) \"Connector of Real output signal\" type: Real P_E.y:VARIABLE(flow=false start = P_E.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: 13 * Number of states: 0 () * Number of discrete variables: 8 (PI_I.LOsat,PI_I.HIsat,PI_E.LOsat,PI_E.HIsat,PI_I.iNoDec,PI_I.iNoInc,PI_I.iTS,PI_E.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001384/0.009729, allocations: 148.3 kB / 425 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.009756, allocations: 21.02 kB / 425 MB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.01004, allocations: 216 kB / 425.2 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01005, allocations: 5.781 kB / 425.2 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.01005, allocations: 1.312 kB / 425.2 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.01006, allocations: 1.688 kB / 425.2 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.01033, allocations: 224.7 kB / 425.4 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01033, allocations: 1.125 kB / 425.4 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.01052, allocations: 60.58 kB / 425.5 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.01053, allocations: 1.188 kB / 425.5 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.01054, allocations: 10.8 kB / 425.5 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.01055, allocations: 2.016 kB / 425.5 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01055, allocations: 3.938 kB / 425.5 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.01092, allocations: 375 kB / 425.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.01094, allocations: 18.5 kB / 425.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.01096, allocations: 6.828 kB / 425.9 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.01103, allocations: 10.91 kB / 425.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.0111, allocations: 30.98 kB / 425.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.01111, allocations: 5.109 kB / 425.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.453e-05/0.01118, allocations: 140.2 kB / 426.1 MB, free: 6.555 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01118, allocations: 0 / 426.1 MB, free: 6.555 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.01138, allocations: 45.17 kB / 426.1 MB, free: 6.543 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (P_I.y,P_E.y,PI_E.xfb,PI_E.xBias,PI_E.u,PI_E.csfil,PI_I.xfb,PI_I.xBias,PI_I.u,PI_I.csfil) * Number of discrete variables: 4 (PI_E.HIsat,PI_E.LOsat,PI_I.HIsat,PI_I.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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 9.629e-05/0.01148, allocations: 104.6 kB / 426.2 MB, free: 6.449 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.01177, allocations: 193.8 kB / 426.4 MB, free: 6.387 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01177, allocations: 1.375 kB / 426.4 MB, free: 6.387 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.01188, allocations: 87.95 kB / 426.5 MB, free: 6.359 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.01214, allocations: 24.27 kB / 426.5 MB, free: 6.348 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007392/0.01288, allocations: 492.5 kB / 427 MB, free: 6.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.506e-05/0.01297, allocations: 141.2 kB / 427.1 MB, free: 5.953 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.533e-05/0.01306, allocations: 30.92 kB / 427.2 MB, free: 5.945 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.01311, allocations: 26.12 kB / 427.2 MB, free: 5.934 MB / 330.7 MB Notification: Performance of SimCode: time 5.62e-07/0.01311, allocations: 0 / 427.2 MB, free: 5.934 MB / 330.7 MB Notification: Performance of Templates: time 0.004392/0.0175, allocations: 2.029 MB / 429.2 MB, free: 5.711 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_basic.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Cascade_basic.sim & ./AES_AES.Coursework.Typical_control_structures.Cascade_basic -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.722348070703447] Failed to read output from testmodel.py, exit status != 0: 0.022409776225686073 0.030799693000000003 0.025456117 Calling exit ...