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.001119/0.001119, allocations: 83.58 kB / 20.45 MB, free: 4.117 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.001076/0.001076, allocations: 169 kB / 23.82 MB, free: 0.7461 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 1.063/1.063, allocations: 177.1 MB / 204.2 MB, free: 5.109 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.06848/0.06848, allocations: 18.13 MB / 278.9 MB, free: 11.16 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.603e-06/1.603e-06, allocations: 3.938 kB / 358.1 MB, free: 8.035 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/2.977e-05, allocations: 5.125 kB / 358.1 MB, free: 8.031 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.002518/0.002547, allocations: 1.868 MB / 360 MB, free: 6.148 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004216/0.002969, allocations: 199.2 kB / 360.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.176e-05/0.003061, allocations: 7.938 kB / 360.2 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.00319, allocations: 27.61 kB / 360.2 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/0.003254, allocations: 27.73 kB / 360.2 MB, free: 5.891 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.00347, allocations: 91.86 kB / 360.3 MB, free: 5.801 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.003739, allocations: 240.7 kB / 360.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.003881, allocations: 40.56 kB / 360.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.326e-05/0.003965, allocations: 75.81 kB / 360.7 MB, free: 5.453 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.004068, allocations: 71.75 kB / 360.7 MB, free: 5.383 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.0041, allocations: 20 kB / 360.8 MB, free: 5.363 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.49e-05/0.004125, allocations: 20 kB / 360.8 MB, free: 5.344 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.004163, allocations: 43.83 kB / 360.8 MB, free: 5.301 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.004222, allocations: 67.75 kB / 360.9 MB, free: 5.234 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.004397, allocations: 139.4 kB / 361 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004399, allocations: 0 / 361 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.0044, allocations: 0 / 361 MB, free: 5.098 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.004406, allocations: 0 / 361 MB, free: 5.098 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.0006031/0.005009, allocations: 0.543 MB / 361.6 MB, free: 4.516 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.005048, allocations: 8.922 kB / 361.6 MB, free: 4.508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.005116, allocations: 36.8 kB / 361.6 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.005321, allocations: 196.9 kB / 361.8 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.005351, allocations: 16.88 kB / 361.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.005392, allocations: 24.38 kB / 361.8 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.005702, allocations: 236.4 kB / 362.1 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.005711, allocations: 4.172 kB / 362.1 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.005729, allocations: 8.375 kB / 362.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.005739, allocations: 4.375 kB / 362.1 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.005892, allocations: 104.9 kB / 362.2 MB, free: 3.828 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.007074, allocations: 1.125 MB / 363.3 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.007272, allocations: 107.1 kB / 363.4 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.093e-05/0.007343, allocations: 55.66 kB / 363.5 MB, free: 2.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.007372, allocations: 4 kB / 363.5 MB, free: 2.469 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.007393, allocations: 33.39 kB / 363.5 MB, free: 2.426 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.007395, allocations: 0 / 363.5 MB, free: 2.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003181/0.007713, allocations: 191.8 kB / 363.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.007744, allocations: 55.41 kB / 363.8 MB, free: 2.168 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.007891, allocations: 262.7 kB / 364 MB, free: 1.895 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.007908, allocations: 29.7 kB / 364 MB, free: 1.859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.917e-05/0.007997, allocations: 207 kB / 364.2 MB, free: 1.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.00804, allocations: 83.33 kB / 364.3 MB, free: 1.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/0.008111, allocations: 75.31 kB / 364.4 MB, free: 1.488 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.008246, allocations: 0.504 MB / 364.9 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.267e-05/0.008319, allocations: 39.97 kB / 364.9 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.008452, allocations: 171.8 kB / 365.1 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.008733, allocations: 277.2 kB / 365.4 MB, free: 396 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.008736, allocations: 0 / 365.4 MB, free: 396 kB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002892/0.009025, allocations: 269.2 kB / 365.6 MB, free: 120 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.009041, allocations: 8 kB / 365.7 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.009048, allocations: 4 kB / 365.7 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.009064, allocations: 7.938 kB / 365.7 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.009423, allocations: 75.84 kB / 365.7 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.009432, allocations: 7.984 kB / 365.8 MB, free: 16 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.009533, allocations: 36.34 kB / 365.8 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.009549, allocations: 16 kB / 365.8 MB, free: 15.96 MB / 346.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.0001469/0.009696, allocations: 188.4 kB / 366 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.009734, allocations: 31.86 kB / 366 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.009992, allocations: 180.7 kB / 366.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.009995, allocations: 3.75 kB / 366.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.01, allocations: 7.984 kB / 366.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01001, allocations: 0 / 366.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.01032, allocations: 220.5 kB / 366.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01032, allocations: 0 / 366.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.0105, allocations: 59.91 kB / 366.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.01051, allocations: 4 kB / 366.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/0.01053, allocations: 4 kB / 366.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.01053, allocations: 7.984 kB / 366.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01053, allocations: 3.938 kB / 366.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.0109, allocations: 374.8 kB / 366.9 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/0.01092, allocations: 19.84 kB / 366.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.01094, allocations: 4 kB / 366.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.01101, allocations: 11.98 kB / 366.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/0.01109, allocations: 27.89 kB / 366.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.0111, allocations: 12 kB / 366.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.747e-05/0.01118, allocations: 173.3 kB / 367.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01118, allocations: 0 / 367.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.01139, allocations: 47.89 kB / 367.2 MB, free: 14.54 MB / 346.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 8.365e-05/0.01147, allocations: 107.2 kB / 367.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.01171, allocations: 159.4 kB / 367.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01171, allocations: 0 / 367.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.66e-05/0.0118, allocations: 83.58 kB / 367.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.01203, allocations: 26.14 kB / 367.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.01268, allocations: 0.4902 MB / 368 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.556e-05/0.01274, allocations: 84.33 kB / 368.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.745e-05/0.01281, allocations: 30.22 kB / 368.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/0.01287, allocations: 24.5 kB / 368.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01287, allocations: 0 / 368.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of Templates: time 0.004241/0.01711, allocations: 2.088 MB / 370.2 MB, free: 11.41 MB / 346.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.262943376787007]