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.001855/0.001855, allocations: 79.69 kB / 20.23 MB, free: 4.195 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.001967/0.001967, allocations: 161.3 kB / 23.54 MB, free: 0.8789 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.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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.1164/0.1164, allocations: 18.14 MB / 278.5 MB, free: 11.33 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 2.114e-06/2.114e-06, allocations: 0 / 357.3 MB, free: 7.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.603e-05, allocations: 5.547 kB / 357.3 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.005059/0.005095, allocations: 1.837 MB / 359.2 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007833/0.005878, allocations: 195.3 kB / 359.3 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.006067, allocations: 7.938 kB / 359.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.006287, allocations: 27.61 kB / 359.4 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.006431, allocations: 23.8 kB / 359.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.006824, allocations: 103.7 kB / 359.5 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005029/0.007327, allocations: 236.8 kB / 359.7 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.007529, allocations: 40.58 kB / 359.8 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.007722, allocations: 79.73 kB / 359.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.007922, allocations: 67.77 kB / 359.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.007994, allocations: 20 kB / 359.9 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.945e-05/0.008043, allocations: 24 kB / 360 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.51e-05/0.008128, allocations: 47.81 kB / 360 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.008248, allocations: 59.83 kB / 360.1 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.008651, allocations: 203.2 kB / 360.3 MB, free: 4.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.008655, allocations: 0 / 360.3 MB, free: 4.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.008656, allocations: 3.938 kB / 360.3 MB, free: 4.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.008665, allocations: 0 / 360.3 MB, free: 4.41 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.001332/0.009997, allocations: 0.535 MB / 360.8 MB, free: 3.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.01004, allocations: 16.92 kB / 360.8 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.01019, allocations: 40.8 kB / 360.9 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.01062, allocations: 192.9 kB / 361 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.127e-05/0.01067, allocations: 16.88 kB / 361.1 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.41e-05/0.01075, allocations: 24.38 kB / 361.1 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.01147, allocations: 251.8 kB / 361.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.01148, allocations: 192 / 361.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.01153, allocations: 12.38 kB / 361.3 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.01154, allocations: 4.375 kB / 361.3 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.01215, allocations: 152.9 kB / 361.5 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.01543, allocations: 1.195 MB / 362.7 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/0.01602, allocations: 159.8 kB / 362.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.01626, allocations: 71.66 kB / 362.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.01631, allocations: 4 kB / 362.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.01636, allocations: 37.39 kB / 363 MB, free: 1.539 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 3.246e-06/0.01636, allocations: 0 / 363 MB, free: 1.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.001057/0.01742, allocations: 244.5 kB / 363.2 MB, free: 1.297 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.01749, allocations: 55.41 kB / 363.3 MB, free: 1.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.01798, allocations: 278.7 kB / 363.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.01802, allocations: 29.7 kB / 363.6 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.01829, allocations: 211 kB / 363.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.01845, allocations: 91.27 kB / 363.8 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.01867, allocations: 91.28 kB / 363.9 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004625/0.01913, allocations: 0.5118 MB / 364.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.01946, allocations: 75.92 kB / 364.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/0.01999, allocations: 199.9 kB / 364.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.02108, allocations: 356.7 kB / 365.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.02108, allocations: 0 / 365.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001127/0.02221, allocations: 329.4 kB / 365.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.02224, allocations: 4 kB / 365.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.02226, allocations: 7.984 kB / 365.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/0.02229, allocations: 7.938 kB / 365.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/0.02295, allocations: 79.83 kB / 365.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.02297, allocations: 4 kB / 365.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.02329, allocations: 39.78 kB / 365.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.02334, allocations: 11.98 kB / 365.5 MB, free: 14.78 MB / 298.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.0003633/0.0237, allocations: 193.7 kB / 365.7 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.02381, allocations: 27.86 kB / 365.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000808/0.02461, allocations: 217.4 kB / 366 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/0.02463, allocations: 7.938 kB / 366 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.02464, allocations: 0 / 366 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.02464, allocations: 0 / 366 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008689/0.02551, allocations: 256.4 kB / 366.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.02551, allocations: 0 / 366.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/0.02619, allocations: 59.97 kB / 366.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.0262, allocations: 0 / 366.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.02623, allocations: 8 kB / 366.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.02624, allocations: 3.938 kB / 366.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.02625, allocations: 3.938 kB / 366.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.02745, allocations: 433.1 kB / 366.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.02751, allocations: 19.84 kB / 366.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.02756, allocations: 4 kB / 366.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.02784, allocations: 11.98 kB / 366.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.02799, allocations: 31.89 kB / 366.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.02801, allocations: 8 kB / 366.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002663/0.02828, allocations: 193.3 kB / 367 MB, free: 13.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.02828, allocations: 0 / 367 MB, free: 13.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005918/0.02887, allocations: 47.89 kB / 367 MB, free: 13.22 MB / 298.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.000224/0.0291, allocations: 103.2 kB / 367.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008848/0.02998, allocations: 217.3 kB / 367.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.02999, allocations: 4 kB / 367.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.03034, allocations: 95.45 kB / 367.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.03091, allocations: 27.98 kB / 367.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.03257, allocations: 0.502 MB / 368 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.03281, allocations: 142.6 kB / 368.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.03301, allocations: 26.28 kB / 368.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.03314, allocations: 28.5 kB / 368.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of SimCode: time 1.142e-06/0.03314, allocations: 0 / 368.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of Templates: time 0.01117/0.04432, allocations: 2.09 MB / 370.3 MB, free: 9.953 MB / 298.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: 4.635481724981219]