Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_with_locks_and_tracking.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.001035/0.001035, allocations: 75.7 kB / 20.8 MB, free: 3.711 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.001108/0.001108, allocations: 165.3 kB / 24.09 MB, free: 432 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 0.91/0.91, allocations: 177.2 MB / 204.4 MB, free: 5.688 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.06021/0.06021, allocations: 18.13 MB / 279 MB, free: 11.47 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_and_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks_and_tracking") translateModel(AES.Coursework.Typical_control_structures.Cascade_with_locks_and_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks_and_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 417.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.89e-05, allocations: 2.844 kB / 417.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks_and_tracking): time 0.002351/0.002379, allocations: 1.928 MB / 419.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004527/0.002832, allocations: 215.4 kB / 419.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.002962, allocations: 18.56 kB / 419.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.003106, allocations: 35.5 kB / 419.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.003178, allocations: 28.69 kB / 419.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.003442, allocations: 96.5 kB / 419.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.003726, allocations: 268.4 kB / 419.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.003901, allocations: 75.41 kB / 420 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.004004, allocations: 92.94 kB / 420.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.004132, allocations: 90.33 kB / 420.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.004175, allocations: 23.19 kB / 420.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.184e-05/0.004206, allocations: 23.66 kB / 420.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.004251, allocations: 54.38 kB / 420.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.828e-05/0.004319, allocations: 76.3 kB / 420.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.004611, allocations: 238.9 kB / 420.6 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004614, allocations: 0 / 420.6 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.004615, allocations: 1.312 kB / 420.6 MB, free: 10 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.004626, allocations: 0.75 kB / 420.6 MB, free: 10 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006462/0.005272, allocations: 483.5 kB / 421.1 MB, free: 9.613 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.005309, allocations: 9.453 kB / 421.1 MB, free: 9.613 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.005365, allocations: 32.16 kB / 421.1 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.005606, allocations: 185.7 kB / 421.3 MB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.005642, allocations: 26.36 kB / 421.3 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.005688, allocations: 32.06 kB / 421.3 MB, free: 9.402 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.006078, allocations: 286.9 kB / 421.6 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.00609, allocations: 4.188 kB / 421.6 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.006108, allocations: 11.5 kB / 421.6 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.006119, allocations: 7.922 kB / 421.6 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.006409, allocations: 191.2 kB / 421.8 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.007527, allocations: 0.9869 MB / 422.8 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.007831, allocations: 170.7 kB / 423 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.007953, allocations: 85.14 kB / 423.1 MB, free: 8.328 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.007983, allocations: 4.188 kB / 423.1 MB, free: 8.328 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.007997, allocations: 36.73 kB / 423.1 MB, free: 8.285 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.007999, allocations: 0 / 423.1 MB, free: 8.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004779/0.008477, allocations: 278.8 kB / 423.4 MB, free: 8.168 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.008505, allocations: 54.91 kB / 423.4 MB, free: 8.105 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.008642, allocations: 202.8 kB / 423.6 MB, free: 7.961 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.008655, allocations: 31.14 kB / 423.7 MB, free: 7.926 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.008722, allocations: 162.2 kB / 423.8 MB, free: 7.785 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.008771, allocations: 97.67 kB / 423.9 MB, free: 7.707 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-05/0.008854, allocations: 79.66 kB / 424 MB, free: 7.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.008899, allocations: 335.3 kB / 424.3 MB, free: 7.336 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.009029, allocations: 87.75 kB / 424.4 MB, free: 7.305 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.009175, allocations: 162.9 kB / 424.6 MB, free: 7.184 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008768/0.01005, allocations: 491.2 kB / 425 MB, free: 6.953 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.01006, allocations: 1.031 kB / 425 MB, free: 6.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003681/0.01042, allocations: 321.3 kB / 425.4 MB, free: 6.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.01044, allocations: 10.58 kB / 425.4 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.01045, allocations: 2.75 kB / 425.4 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.01047, allocations: 4.406 kB / 425.4 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.0108, allocations: 96.39 kB / 425.5 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.01081, allocations: 7.906 kB / 425.5 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.01092, allocations: 39.11 kB / 425.5 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.01094, allocations: 15.41 kB / 425.5 MB, free: 6.77 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: 10 * Number of states: 0 () * Number of discrete variables: 9 (tre.u2,TS_E.y,PI_I.LOsat,PI_I.HIsat,PI_E.LOsat,PI_E.HIsat,PI_E.TS,PI_I.iNoDec,PI_I.iNoInc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.000147/0.01109, allocations: 148.9 kB / 425.7 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.01112, allocations: 22.88 kB / 425.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.01149, allocations: 256.7 kB / 426 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01149, allocations: 7.625 kB / 426 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.0115, allocations: 0 / 426 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.0115, allocations: 7.406 kB / 426 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.01182, allocations: 248.3 kB / 426.2 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01182, allocations: 4 kB / 426.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.01202, allocations: 65.77 kB / 426.3 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01202, allocations: 2.031 kB / 426.3 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.01204, allocations: 6.75 kB / 426.3 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01204, allocations: 7.406 kB / 426.3 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.01204, allocations: 2.016 kB / 426.3 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.01248, allocations: 429.7 kB / 426.7 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.0125, allocations: 23.48 kB / 426.7 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.01253, allocations: 10.84 kB / 426.7 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.525e-05/0.01262, allocations: 16.39 kB / 426.8 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.795e-05/0.01272, allocations: 31.81 kB / 426.8 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.01273, allocations: 10 kB / 426.8 MB, free: 6.016 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.26e-05/0.01282, allocations: 137.1 kB / 426.9 MB, free: 5.918 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01282, allocations: 0.9062 kB / 426.9 MB, free: 5.918 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002208/0.01304, allocations: 57.89 kB / 427 MB, free: 5.898 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: 7 (PI_E.TS,PI_E.HIsat,PI_E.LOsat,PI_I.HIsat,PI_I.LOsat,TS_E.y,tre.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.31e-05/0.01312, allocations: 110.8 kB / 427.1 MB, free: 5.801 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.01346, allocations: 222.5 kB / 427.3 MB, free: 5.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01346, allocations: 0 / 427.3 MB, free: 5.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.01361, allocations: 116.6 kB / 427.4 MB, free: 5.691 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.01385, allocations: 29.58 kB / 427.5 MB, free: 5.676 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007753/0.01463, allocations: 0.5383 MB / 428 MB, free: 5.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.01475, allocations: 162.7 kB / 428.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.01485, allocations: 26.3 kB / 428.2 MB, free: 5.246 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.01491, allocations: 29.72 kB / 428.2 MB, free: 5.234 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01491, allocations: 4 kB / 428.2 MB, free: 5.23 MB / 330.7 MB Notification: Performance of Templates: time 0.004981/0.01989, allocations: 2.379 MB / 430.6 MB, free: 4.977 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks_and_tracking.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks_and_tracking.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_with_locks_and_tracking.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_with_locks_and_tracking.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Cascade_with_locks_and_tracking.sim & ./AES_AES.Coursework.Typical_control_structures.Cascade_with_locks_and_tracking -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_with_locks_and_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.976309871301055] Failed to read output from testmodel.py, exit status != 0: 0.025897633284330368 0.035109815 0.028064781 Calling exit ...