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.0008218/0.0008218, allocations: 84.44 kB / 20.71 MB, free: 3.855 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.0008821/0.0008821, allocations: 169.2 kB / 23.98 MB, free: 0.582 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.8742/0.8742, allocations: 177.2 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.07074/0.07074, allocations: 18.12 MB / 278.8 MB, free: 11.55 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.383e-06/1.383e-06, allocations: 0 / 417.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.416e-05, allocations: 2.281 kB / 417.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.001943/0.001967, allocations: 1.826 MB / 418.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003296/0.002297, allocations: 189.6 kB / 419.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.002374, allocations: 5.031 kB / 419.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.002484, allocations: 39.3 kB / 419.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.002532, allocations: 18.27 kB / 419.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.002715, allocations: 88.66 kB / 419.3 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.002932, allocations: 239.5 kB / 419.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.003057, allocations: 49.34 kB / 419.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.417e-05/0.003121, allocations: 77.95 kB / 419.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.003222, allocations: 68.62 kB / 419.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.003257, allocations: 20.44 kB / 419.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.884e-05/0.003275, allocations: 18.88 kB / 419.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.003308, allocations: 51.53 kB / 419.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.003355, allocations: 64.14 kB / 419.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.003551, allocations: 196.5 kB / 420 MB, free: 10.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.003554, allocations: 0.9688 kB / 420 MB, free: 10.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.003555, allocations: 0 / 420 MB, free: 10.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.00356, allocations: 4 kB / 420 MB, free: 10.3 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.0005277/0.004087, allocations: 441.2 kB / 420.5 MB, free: 9.941 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.004121, allocations: 10.77 kB / 420.5 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.004165, allocations: 25.39 kB / 420.5 MB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.004363, allocations: 181.2 kB / 420.7 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.004392, allocations: 19.75 kB / 420.7 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.004426, allocations: 29.45 kB / 420.7 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.004704, allocations: 237.7 kB / 421 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.004715, allocations: 1.312 kB / 421 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.004731, allocations: 7.766 kB / 421 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.004738, allocations: 5.25 kB / 421 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.004941, allocations: 159.9 kB / 421.1 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009477/0.005889, allocations: 0.908 MB / 422 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.006106, allocations: 144.4 kB / 422.2 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.006189, allocations: 66.7 kB / 422.2 MB, free: 8.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.006214, allocations: 2.219 kB / 422.2 MB, free: 8.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.006227, allocations: 33.52 kB / 422.3 MB, free: 8.711 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.006228, allocations: 0 / 422.3 MB, free: 8.711 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003434/0.006572, allocations: 228.5 kB / 422.5 MB, free: 8.609 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.006594, allocations: 57.75 kB / 422.6 MB, free: 8.543 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.006731, allocations: 213 kB / 422.8 MB, free: 8.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.006744, allocations: 29.7 kB / 422.8 MB, free: 8.363 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.006811, allocations: 163.7 kB / 422.9 MB, free: 8.219 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.00685, allocations: 80.81 kB / 423 MB, free: 8.156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.006914, allocations: 70.94 kB / 423.1 MB, free: 8.113 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.908e-05/0.006953, allocations: 334.4 kB / 423.4 MB, free: 7.789 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.807e-05/0.007051, allocations: 75.39 kB / 423.5 MB, free: 7.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.007183, allocations: 166.6 kB / 423.7 MB, free: 7.625 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000814/0.007997, allocations: 474 kB / 424.1 MB, free: 7.383 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.008002, allocations: 6.531 kB / 424.1 MB, free: 7.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003205/0.008322, allocations: 301.7 kB / 424.4 MB, free: 7.242 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.008339, allocations: 5.938 kB / 424.4 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.008347, allocations: 4.141 kB / 424.4 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.008364, allocations: 8.719 kB / 424.4 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.008537, allocations: 82.97 kB / 424.5 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.008548, allocations: 9.172 kB / 424.5 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/0.008628, allocations: 33.52 kB / 424.6 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.008644, allocations: 16.64 kB / 424.6 MB, free: 7.199 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.0001281/0.008772, allocations: 146.8 kB / 424.7 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.008796, allocations: 20.48 kB / 424.7 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.009072, allocations: 220.8 kB / 425 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.009076, allocations: 11.19 kB / 425 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.009081, allocations: 0.875 kB / 425 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.009085, allocations: 2.531 kB / 425 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.009333, allocations: 224.6 kB / 425.2 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009334, allocations: 0 / 425.2 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.009502, allocations: 53.25 kB / 425.2 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.009505, allocations: 1.094 kB / 425.2 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.009519, allocations: 11.66 kB / 425.3 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.009521, allocations: 1.969 kB / 425.3 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.009523, allocations: 3.938 kB / 425.3 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.009857, allocations: 377.9 kB / 425.6 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.009876, allocations: 19.91 kB / 425.7 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.009896, allocations: 5.844 kB / 425.7 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.009965, allocations: 12.22 kB / 425.7 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.01002, allocations: 27.25 kB / 425.7 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.01003, allocations: 5.359 kB / 425.7 MB, free: 6.504 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.519e-05/0.0101, allocations: 139.1 kB / 425.8 MB, free: 6.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0101, allocations: 0 / 425.8 MB, free: 6.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.01032, allocations: 44.23 kB / 425.9 MB, free: 6.398 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 0.0001102/0.01043, allocations: 112 kB / 426 MB, free: 6.301 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003334/0.01076, allocations: 189.4 kB / 426.2 MB, free: 6.242 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01077, allocations: 0 / 426.2 MB, free: 6.242 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.01088, allocations: 91.97 kB / 426.3 MB, free: 6.211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.01111, allocations: 32.27 kB / 426.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.01176, allocations: 0.512 MB / 426.8 MB, free: 5.848 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.01186, allocations: 141.4 kB / 426.9 MB, free: 5.766 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.01193, allocations: 29.22 kB / 427 MB, free: 5.754 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01193, allocations: 0 / 427 MB, free: 5.754 MB / 330.7 MB Notification: Performance of Templates: time 0.004039/0.01597, allocations: 2.725 MB / 429.7 MB, free: 5.535 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 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.416858759708703] Failed to read output from testmodel.py, exit status != 0: 0.02145540527999401 0.030218971 0.024970734 Calling exit ...