Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.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.0009164/0.0009164, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001075/0.001075, allocations: 177 kB / 24.17 MB, free: 332 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 1.018/1.018, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.07121/0.07121, allocations: 18.13 MB / 279.2 MB, free: 11.2 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_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") translateModel(AES.Coursework.Typical_control_structures.Cascade_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 305.3 MB, free: 148 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.233e-05, allocations: 2.312 kB / 305.3 MB, free: 144 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.00255/0.002572, allocations: 1.859 MB / 307.2 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000444/0.003016, allocations: 208.7 kB / 307.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.003105, allocations: 10.03 kB / 307.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.003223, allocations: 35.78 kB / 307.4 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.638e-05/0.00328, allocations: 16.92 kB / 307.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.003466, allocations: 96.09 kB / 307.6 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.00369, allocations: 239.3 kB / 307.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.003808, allocations: 48.36 kB / 307.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/0.003892, allocations: 83.08 kB / 307.9 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.003995, allocations: 66.5 kB / 308 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.004025, allocations: 20 kB / 308 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.141e-05/0.004046, allocations: 20 kB / 308 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.004087, allocations: 48.91 kB / 308.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.00414, allocations: 62.81 kB / 308.1 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.004281, allocations: 142.4 kB / 308.3 MB, free: 14.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.004282, allocations: 3.938 kB / 308.3 MB, free: 14.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004283, allocations: 0 / 308.3 MB, free: 14.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.004287, allocations: 3.938 kB / 308.3 MB, free: 14.07 MB / 282.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.0004826/0.004769, allocations: 426.4 kB / 308.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.004798, allocations: 8.922 kB / 308.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.004847, allocations: 35.97 kB / 308.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.005015, allocations: 159.9 kB / 308.9 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.005039, allocations: 20.88 kB / 308.9 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.005074, allocations: 32.97 kB / 308.9 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.005304, allocations: 208.8 kB / 309.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.005312, allocations: 4.188 kB / 309.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.005327, allocations: 10.2 kB / 309.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.005334, allocations: 4.375 kB / 309.2 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.44e-05/0.005428, allocations: 73 kB / 309.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008201/0.006248, allocations: 0.7762 MB / 310 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.006381, allocations: 88.48 kB / 310.1 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.00642, allocations: 36.23 kB / 310.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.006441, allocations: 4 kB / 310.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.006462, allocations: 34.56 kB / 310.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/0.006463, allocations: 0 / 310.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001901/0.006653, allocations: 145.1 kB / 310.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.006686, allocations: 51.41 kB / 310.4 MB, free: 12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.006787, allocations: 199.4 kB / 310.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.006801, allocations: 29.7 kB / 310.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.006867, allocations: 152.3 kB / 310.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.006906, allocations: 87.3 kB / 310.8 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.006963, allocations: 61.67 kB / 310.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.00704, allocations: 338.8 kB / 311.2 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.708e-05/0.007077, allocations: 27.98 kB / 311.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-05/0.007155, allocations: 131 kB / 311.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.007331, allocations: 227.2 kB / 311.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007333, allocations: 0 / 311.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0001793/0.007512, allocations: 193.3 kB / 311.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.007523, allocations: 6.562 kB / 311.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.007529, allocations: 8 kB / 311.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.007542, allocations: 4 kB / 311.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.007702, allocations: 79.84 kB / 311.9 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.007711, allocations: 15.97 kB / 311.9 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.007785, allocations: 35.72 kB / 311.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.007797, allocations: 12 kB / 311.9 MB, free: 10.31 MB / 282.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_E.iTS,PI_I.iTS,PI_I.iNoInc,PI_I.iNoDec) * 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.0001256/0.007923, allocations: 142.6 kB / 312.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.007951, allocations: 23.92 kB / 312.1 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.008105, allocations: 137.6 kB / 312.2 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.008108, allocations: 4 kB / 312.2 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.008109, allocations: 0 / 312.2 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.008113, allocations: 7.984 kB / 312.2 MB, free: 9.992 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.00833, allocations: 165.6 kB / 312.4 MB, free: 9.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008331, allocations: 0 / 312.4 MB, free: 9.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.008487, allocations: 55.91 kB / 312.5 MB, free: 9.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.00849, allocations: 8 kB / 312.5 MB, free: 9.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.008502, allocations: 4 kB / 312.5 MB, free: 9.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.008504, allocations: 0 / 312.5 MB, free: 9.746 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.008505, allocations: 4 kB / 312.5 MB, free: 9.742 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.008714, allocations: 273.8 kB / 312.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.008733, allocations: 23.84 kB / 312.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.008749, allocations: 0 / 312.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.008818, allocations: 15.98 kB / 312.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.008862, allocations: 23.89 kB / 312.8 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.008869, allocations: 12 kB / 312.8 MB, free: 9.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.345e-05/0.008902, allocations: 51.05 kB / 312.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008902, allocations: 0 / 312.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.009067, allocations: 47.94 kB / 312.9 MB, free: 9.285 MB / 282.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 7.382e-05/0.009141, allocations: 80.42 kB / 313 MB, free: 9.195 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.009289, allocations: 137.2 kB / 313.1 MB, free: 9.059 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.009293, allocations: 8 kB / 313.1 MB, free: 9.051 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.063e-05/0.009354, allocations: 66.59 kB / 313.2 MB, free: 8.984 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.009509, allocations: 29.44 kB / 313.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.01001, allocations: 469.7 kB / 313.7 MB, free: 8.469 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.493e-05/0.01006, allocations: 88.31 kB / 313.8 MB, free: 8.363 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.455e-05/0.01012, allocations: 30.28 kB / 313.8 MB, free: 8.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.223e-05/0.0102, allocations: 75.38 kB / 313.9 MB, free: 8.262 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0102, allocations: 3.938 kB / 313.9 MB, free: 8.258 MB / 282.7 MB Notification: Performance of Templates: time 0.003697/0.0139, allocations: 2.258 MB / 316.1 MB, free: 6.031 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.sim & ./AES_AES.Coursework.Typical_control_structures.Cascade_with_locks -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0689404560253024]