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.001325/0.001325, allocations: 85.61 kB / 19.96 MB, free: 1.754 MB / 14.72 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.001386/0.001386, allocations: 164.3 kB / 23.23 MB, free: 4.883 MB / 14.72 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 1.459/1.459, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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.1068/0.1068, allocations: 18.14 MB / 278.1 MB, free: 15.04 MB / 270.1 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 2.084e-06/2.084e-06, allocations: 3.938 kB / 416.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.182e-05, allocations: 4.531 kB / 416.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.004885/0.004917, allocations: 1.817 MB / 418.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007487/0.005666, allocations: 195.4 kB / 418.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.00583, allocations: 3.938 kB / 418.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.006031, allocations: 35.55 kB / 418.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.006142, allocations: 11.81 kB / 418.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.006499, allocations: 103.8 kB / 418.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.007008, allocations: 236.7 kB / 418.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.007216, allocations: 44.55 kB / 418.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.007388, allocations: 75.81 kB / 418.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.007569, allocations: 71.7 kB / 418.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.99e-05/0.007639, allocations: 20 kB / 418.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.286e-05/0.007692, allocations: 20 kB / 419 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.426e-05/0.007776, allocations: 51.75 kB / 419 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.007898, allocations: 59.81 kB / 419.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.008289, allocations: 199.3 kB / 419.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.008292, allocations: 3.938 kB / 419.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.008293, allocations: 4 kB / 419.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.008301, allocations: 0 / 419.3 MB, free: 14.82 MB / 350.1 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.001251/0.009552, allocations: 445.8 kB / 419.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.0096, allocations: 8.922 kB / 419.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.429e-05/0.009695, allocations: 28.8 kB / 419.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.01008, allocations: 178.1 kB / 419.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/0.01013, allocations: 20.88 kB / 419.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-05/0.01021, allocations: 24.38 kB / 420 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007367/0.01094, allocations: 233.6 kB / 420.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.01096, allocations: 192 / 420.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.807e-05/0.01101, allocations: 12.38 kB / 420.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.01103, allocations: 4.375 kB / 420.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006154/0.01164, allocations: 156.9 kB / 420.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.01431, allocations: 0.9162 MB / 421.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.01479, allocations: 141.2 kB / 421.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.01503, allocations: 72.83 kB / 421.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.01507, allocations: 4 kB / 421.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.01511, allocations: 38.5 kB / 421.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.924e-06/0.01511, allocations: 0 / 421.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008506/0.01596, allocations: 233.8 kB / 421.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.01602, allocations: 55.41 kB / 421.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.01632, allocations: 211.6 kB / 422 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.01636, allocations: 29.7 kB / 422.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.01652, allocations: 160.3 kB / 422.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.01662, allocations: 83.27 kB / 422.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.01679, allocations: 73.47 kB / 422.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.01698, allocations: 330.8 kB / 422.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.01725, allocations: 79.91 kB / 422.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.01762, allocations: 163.1 kB / 422.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/0.01996, allocations: 481.2 kB / 423.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.01996, allocations: 4 kB / 423.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009058/0.02087, allocations: 293.2 kB / 423.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.02089, allocations: 4 kB / 423.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.0209, allocations: 4.375 kB / 423.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.02093, allocations: 11.94 kB / 423.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/0.02145, allocations: 79.89 kB / 423.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.02147, allocations: 7.938 kB / 423.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.02174, allocations: 31.78 kB / 423.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.02179, allocations: 19.98 kB / 423.8 MB, free: 9.973 MB / 350.1 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.0003086/0.0221, allocations: 148.4 kB / 424 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.819e-05/0.02218, allocations: 19.86 kB / 424 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007543/0.02294, allocations: 227.3 kB / 424.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.02295, allocations: 3.938 kB / 424.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.02295, allocations: 0 / 424.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.02296, allocations: 0 / 424.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007558/0.02372, allocations: 233 kB / 424.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.02372, allocations: 0 / 424.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/0.02426, allocations: 55.97 kB / 424.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.02427, allocations: 4 kB / 424.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.0243, allocations: 4 kB / 424.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.02431, allocations: 4 kB / 424.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.02432, allocations: 7.938 kB / 424.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009305/0.02525, allocations: 374.7 kB / 424.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.02529, allocations: 15.84 kB / 424.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.02535, allocations: 8 kB / 424.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.02559, allocations: 7.984 kB / 424.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.02572, allocations: 27.89 kB / 425 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.02575, allocations: 8 kB / 425 MB, free: 8.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.02595, allocations: 141.5 kB / 425.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02595, allocations: 0 / 425.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005788/0.02652, allocations: 51.89 kB / 425.2 MB, free: 8.605 MB / 350.1 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.0002206/0.02674, allocations: 103.3 kB / 425.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006794/0.02742, allocations: 191.6 kB / 425.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.02743, allocations: 0 / 425.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.02767, allocations: 84.66 kB / 425.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.02818, allocations: 23.98 kB / 425.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.02963, allocations: 487.1 kB / 426 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.02988, allocations: 142.5 kB / 426.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.03004, allocations: 26.28 kB / 426.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.03015, allocations: 24.5 kB / 426.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.03015, allocations: 0 / 426.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of Templates: time 0.008849/0.039, allocations: 2.025 MB / 428.2 MB, free: 5.488 MB / 350.1 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.553497329354286] Failed to read output from testmodel.py, exit status != 0: 0.052256468683481216 0.074278761 0.06117551400000001 Calling exit ...