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.000651/0.000651, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008917/0.001543, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006584/0.0006584, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008649/0.001523, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9954/0.9954, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09892/1.094, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.06283/0.06283, allocations: 18.13 MB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01498/0.07781, allocations: 6.793 MB / 269.1 MB, free: 6.246 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.513e-06/1.513e-06, allocations: 0 / 270.5 MB, free: 4.781 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.396e-05, allocations: 2.312 kB / 270.5 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.003572/0.003596, allocations: 1.913 MB / 272.4 MB, free: 2.848 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005892/0.004185, allocations: 203.2 kB / 272.6 MB, free: 2.648 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.004332, allocations: 11.94 kB / 272.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.004449, allocations: 35.55 kB / 272.7 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.503e-05/0.004544, allocations: 27.73 kB / 272.7 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.004799, allocations: 87.86 kB / 272.8 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.005128, allocations: 232.8 kB / 273 MB, free: 2.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.005276, allocations: 54.45 kB / 273.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.005471, allocations: 127.7 kB / 273.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.005617, allocations: 67.77 kB / 273.3 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.005662, allocations: 24 kB / 273.3 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.981e-05/0.005691, allocations: 16 kB / 273.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.00574, allocations: 39.81 kB / 273.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.087e-05/0.005801, allocations: 47.88 kB / 273.4 MB, free: 1.891 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.006011, allocations: 127.4 kB / 273.5 MB, free: 1.766 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.499e-05/0.006026, allocations: 0 / 273.5 MB, free: 1.766 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.006027, allocations: 0 / 273.5 MB, free: 1.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.006038, allocations: 0 / 273.5 MB, free: 1.766 MB / 266.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.0007407/0.006779, allocations: 464.1 kB / 274 MB, free: 1.285 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.006818, allocations: 12.02 kB / 274 MB, free: 1.273 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.006896, allocations: 32.86 kB / 274 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.007162, allocations: 178 kB / 274.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/0.007201, allocations: 20.88 kB / 274.2 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.007248, allocations: 20.38 kB / 274.2 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.007585, allocations: 206.2 kB / 274.4 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.007596, allocations: 192 / 274.4 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.007615, allocations: 16.38 kB / 274.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.007627, allocations: 8.375 kB / 274.4 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.007764, allocations: 68.95 kB / 274.5 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1469/0.1547, allocations: 0.7779 MB / 275.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.1549, allocations: 87.58 kB / 275.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.155, allocations: 32.98 kB / 275.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.155, allocations: 6.234 kB / 275.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.155, allocations: 35.97 kB / 275.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.054e-06/0.155, allocations: 0 / 275.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.00026/0.1553, allocations: 130.2 kB / 275.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.1553, allocations: 57.3 kB / 275.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.1554, allocations: 201.9 kB / 275.8 MB, free: 3.105 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1554, allocations: 31.42 kB / 275.9 MB, free: 3.074 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.1555, allocations: 144.8 kB / 276 MB, free: 2.984 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.1556, allocations: 87.11 kB / 276.1 MB, free: 2.941 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/0.1556, allocations: 72.08 kB / 276.2 MB, free: 2.926 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.1557, allocations: 340.1 kB / 276.5 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.303e-05/0.1558, allocations: 28.83 kB / 276.5 MB, free: 2.613 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.929e-05/0.1558, allocations: 124 kB / 276.6 MB, free: 2.512 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.1561, allocations: 225.3 kB / 276.9 MB, free: 2.406 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1561, allocations: 1.469 kB / 276.9 MB, free: 2.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002661/0.1564, allocations: 195.1 kB / 277 MB, free: 2.371 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1564, allocations: 6.656 kB / 277.1 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1564, allocations: 5.5 kB / 277.1 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1564, allocations: 9.375 kB / 277.1 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.1568, allocations: 104.2 kB / 277.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1568, allocations: 10.31 kB / 277.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.1569, allocations: 43.92 kB / 277.2 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.1569, allocations: 8.859 kB / 277.2 MB, free: 2.359 MB / 266.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.0001186/0.157, allocations: 139.6 kB / 277.4 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.1571, allocations: 18.42 kB / 277.4 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.1573, allocations: 144.9 kB / 277.5 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1573, allocations: 2.344 kB / 277.5 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.1573, allocations: 0.875 kB / 277.5 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1573, allocations: 2.656 kB / 277.5 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.1576, allocations: 167.6 kB / 277.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1576, allocations: 2.562 kB / 277.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.1579, allocations: 89.67 kB / 277.8 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.1579, allocations: 22.23 kB / 277.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1579, allocations: 2.188 kB / 277.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.158, allocations: 5.609 kB / 277.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.158, allocations: 2.844 kB / 277.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.158, allocations: 1.688 kB / 277.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.1582, allocations: 271.3 kB / 278.1 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1583, allocations: 9.562 kB / 278.1 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1584, allocations: 12.73 kB / 278.1 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.1584, allocations: 27.67 kB / 278.1 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1584, allocations: 3.984 kB / 278.1 MB, free: 1.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.051e-05/0.1585, allocations: 54.64 kB / 278.2 MB, free: 1.957 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1585, allocations: 0.9688 kB / 278.2 MB, free: 1.957 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.1588, allocations: 39.69 kB / 278.2 MB, free: 1.957 MB / 266.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.746e-05/0.1589, allocations: 89.69 kB / 278.3 MB, free: 1.887 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.1591, allocations: 137.6 kB / 278.5 MB, free: 1.879 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.1591, allocations: 5.109 kB / 278.5 MB, free: 1.879 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.1592, allocations: 83.84 kB / 278.5 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1595, allocations: 218.4 kB / 278.8 MB, free: 1.672 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007957/0.1603, allocations: 460.6 kB / 279.2 MB, free: 1.418 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.256e-05/0.1603, allocations: 86.95 kB / 279.3 MB, free: 1.348 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.791e-05/0.1604, allocations: 30.69 kB / 279.3 MB, free: 1.348 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.1606, allocations: 83.48 kB / 279.4 MB, free: 1.305 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1606, allocations: 1.156 kB / 279.4 MB, free: 1.305 MB / 266.7 MB Notification: Performance of Templates: time 0.005346/0.1659, allocations: 2.447 MB / 281.9 MB, free: 1.172 MB / 266.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: 2.7700361739844084]