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.0008129/0.0008129, allocations: 80.47 kB / 20.71 MB, free: 3.848 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.0007282/0.0007282, allocations: 173.2 kB / 23.99 MB, free: 0.5625 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 0.8535/0.8535, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.05965/0.05965, allocations: 18.13 MB / 278.8 MB, free: 11.54 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.573e-06/1.573e-06, allocations: 0 / 417.1 MB, free: 12.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.375e-05, allocations: 2.281 kB / 417.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.00172/0.001743, allocations: 1.825 MB / 418.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003119/0.002055, allocations: 189.8 kB / 419.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.633e-05/0.002132, allocations: 5.219 kB / 419.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.713e-05/0.002229, allocations: 38.41 kB / 419.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.935e-05/0.002278, allocations: 23.8 kB / 419.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.002441, allocations: 84.92 kB / 419.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.00264, allocations: 248 kB / 419.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.002755, allocations: 40.69 kB / 419.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.054e-05/0.002815, allocations: 78.61 kB / 419.6 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.002903, allocations: 69.44 kB / 419.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.002937, allocations: 19.47 kB / 419.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.752e-05/0.002955, allocations: 18.88 kB / 419.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.002985, allocations: 57.23 kB / 419.8 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.003029, allocations: 58.92 kB / 419.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.003207, allocations: 201 kB / 420 MB, free: 10.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003209, allocations: 0.6875 kB / 420 MB, free: 10.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00321, allocations: 0 / 420 MB, free: 10.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.003215, allocations: 1.625 kB / 420 MB, free: 10.28 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.0004934/0.003708, allocations: 443.7 kB / 420.5 MB, free: 9.918 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.003737, allocations: 15.36 kB / 420.5 MB, free: 9.914 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.003778, allocations: 26.3 kB / 420.5 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.003953, allocations: 176.4 kB / 420.7 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.00398, allocations: 18.78 kB / 420.7 MB, free: 9.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.004011, allocations: 25.27 kB / 420.7 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.004279, allocations: 233.1 kB / 420.9 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.004291, allocations: 5.406 kB / 421 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.004306, allocations: 10.72 kB / 421 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.004313, allocations: 5.906 kB / 421 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.004518, allocations: 164.2 kB / 421.1 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008659/0.005384, allocations: 0.9167 MB / 422 MB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.00558, allocations: 150.8 kB / 422.2 MB, free: 8.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.005662, allocations: 68.19 kB / 422.3 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.005686, allocations: 3.109 kB / 422.3 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.157e-06/0.005696, allocations: 32.84 kB / 422.3 MB, free: 8.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.072e-06/0.005697, allocations: 0 / 422.3 MB, free: 8.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003407/0.006037, allocations: 238.8 kB / 422.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.006057, allocations: 54.47 kB / 422.6 MB, free: 8.512 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.006167, allocations: 211.1 kB / 422.8 MB, free: 8.367 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.00618, allocations: 31.38 kB / 422.8 MB, free: 8.332 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.006235, allocations: 159.6 kB / 423 MB, free: 8.191 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.00627, allocations: 83.91 kB / 423.1 MB, free: 8.125 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.00633, allocations: 75.89 kB / 423.1 MB, free: 8.078 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.17e-05/0.006362, allocations: 329.9 kB / 423.5 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.772e-05/0.006459, allocations: 77.78 kB / 423.5 MB, free: 7.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.006579, allocations: 163.7 kB / 423.7 MB, free: 7.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/0.007341, allocations: 482.3 kB / 424.2 MB, free: 7.355 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.007344, allocations: 2.719 kB / 424.2 MB, free: 7.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000306/0.00765, allocations: 309.8 kB / 424.5 MB, free: 7.215 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.007665, allocations: 6.688 kB / 424.5 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.007671, allocations: 2.625 kB / 424.5 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.007686, allocations: 10.23 kB / 424.5 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.007851, allocations: 82.89 kB / 424.6 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.007858, allocations: 4.844 kB / 424.6 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.748e-05/0.007935, allocations: 35.75 kB / 424.6 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.00795, allocations: 15.38 kB / 424.6 MB, free: 7.176 MB / 330.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.0001049/0.008054, allocations: 151.3 kB / 424.8 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.008078, allocations: 19.92 kB / 424.8 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.00835, allocations: 228.5 kB / 425 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.008354, allocations: 6.609 kB / 425 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.008358, allocations: 2.219 kB / 425 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.008362, allocations: 1.312 kB / 425 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.00859, allocations: 221.2 kB / 425.2 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.008591, allocations: 1.062 kB / 425.2 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.008762, allocations: 61.03 kB / 425.3 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.008765, allocations: 1.844 kB / 425.3 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.008779, allocations: 10.78 kB / 425.3 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.00878, allocations: 6.125 kB / 425.3 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.008782, allocations: 4.641 kB / 425.3 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.009116, allocations: 379.5 kB / 425.7 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.009132, allocations: 19.42 kB / 425.7 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.009151, allocations: 6.984 kB / 425.7 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.00922, allocations: 7.609 kB / 425.7 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.009273, allocations: 28.05 kB / 425.8 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.009281, allocations: 9.219 kB / 425.8 MB, free: 6.473 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.64e-05/0.009337, allocations: 139.4 kB / 425.9 MB, free: 6.379 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009337, allocations: 5.125 kB / 425.9 MB, free: 6.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.009523, allocations: 44.14 kB / 425.9 MB, free: 6.363 MB / 330.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 6.269e-05/0.009585, allocations: 106.1 kB / 426 MB, free: 6.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.009843, allocations: 188.9 kB / 426.2 MB, free: 6.215 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.009844, allocations: 0 / 426.2 MB, free: 6.215 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.009945, allocations: 93.42 kB / 426.3 MB, free: 6.184 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.01015, allocations: 32.95 kB / 426.4 MB, free: 6.168 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005684/0.01072, allocations: 0.5081 MB / 426.9 MB, free: 5.824 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.646e-05/0.0108, allocations: 140.8 kB / 427 MB, free: 5.742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.01085, allocations: 25.8 kB / 427 MB, free: 5.734 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01085, allocations: 0 / 427 MB, free: 5.734 MB / 330.7 MB Notification: Performance of Templates: time 0.003339/0.01419, allocations: 2.737 MB / 429.8 MB, free: 5.516 MB / 330.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=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.29988070577383] Failed to read output from testmodel.py, exit status != 0: 0.018620948307216167 0.025831382 0.021040405 Calling exit ...