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.0008148/0.0008148, allocations: 75.59 kB / 20.8 MB, free: 3.715 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.001053/0.001053, allocations: 170 kB / 24.1 MB, free: 424 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.8653/0.8653, allocations: 177.1 MB / 204.4 MB, free: 5.707 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.05823/0.05823, allocations: 18.13 MB / 279 MB, free: 11.48 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.523e-06/1.523e-06, allocations: 0 / 417.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.576e-05, allocations: 4.297 kB / 417.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.001954/0.00198, allocations: 1.811 MB / 419.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003183/0.002298, allocations: 199.1 kB / 419.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.002375, allocations: 5.094 kB / 419.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.002486, allocations: 35.31 kB / 419.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/0.00254, allocations: 13.75 kB / 419.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.002703, allocations: 97.83 kB / 419.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.002901, allocations: 236.5 kB / 419.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.00302, allocations: 45.14 kB / 419.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.13e-05/0.003081, allocations: 82.27 kB / 419.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.003175, allocations: 73.84 kB / 419.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.003204, allocations: 18.44 kB / 419.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.942e-05/0.003223, allocations: 19.28 kB / 420 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.372e-05/0.003257, allocations: 48.72 kB / 420 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.003304, allocations: 63.86 kB / 420.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.003482, allocations: 201.2 kB / 420.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.003484, allocations: 4 kB / 420.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003485, allocations: 0 / 420.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.00349, allocations: 0 / 420.3 MB, free: 10.44 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.0004987/0.003989, allocations: 442.3 kB / 420.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.004026, allocations: 9.875 kB / 420.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.004074, allocations: 25.98 kB / 420.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.004272, allocations: 181.6 kB / 420.9 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.004307, allocations: 19.44 kB / 420.9 MB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.004357, allocations: 32.86 kB / 421 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.004724, allocations: 233.2 kB / 421.2 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.004738, allocations: 5.281 kB / 421.2 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.004759, allocations: 11.09 kB / 421.2 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.004767, allocations: 5 kB / 421.2 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.005038, allocations: 158.9 kB / 421.4 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.00608, allocations: 0.9161 MB / 422.3 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.006323, allocations: 151.5 kB / 422.4 MB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.609e-05/0.00642, allocations: 63.75 kB / 422.5 MB, free: 8.891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.006456, allocations: 3.219 kB / 422.5 MB, free: 8.891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.006472, allocations: 36.66 kB / 422.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.924e-06/0.006474, allocations: 1 kB / 422.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004125/0.006887, allocations: 234.4 kB / 422.8 MB, free: 8.746 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.006913, allocations: 53.88 kB / 422.8 MB, free: 8.684 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.007052, allocations: 208.4 kB / 423 MB, free: 8.543 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.007066, allocations: 34.77 kB / 423.1 MB, free: 8.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.007136, allocations: 158.8 kB / 423.2 MB, free: 8.363 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.00718, allocations: 84.09 kB / 423.3 MB, free: 8.297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.00725, allocations: 75.8 kB / 423.4 MB, free: 8.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.007303, allocations: 331.2 kB / 423.7 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.007425, allocations: 78.06 kB / 423.8 MB, free: 7.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.007564, allocations: 164.8 kB / 423.9 MB, free: 7.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008443/0.008409, allocations: 485.8 kB / 424.4 MB, free: 7.523 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.008412, allocations: 1.406 kB / 424.4 MB, free: 7.523 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003464/0.008758, allocations: 300.8 kB / 424.7 MB, free: 7.391 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.008776, allocations: 10.97 kB / 424.7 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.008784, allocations: 2.625 kB / 424.7 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.008804, allocations: 9.594 kB / 424.7 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.008983, allocations: 78.89 kB / 424.8 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.008992, allocations: 5.484 kB / 424.8 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.894e-05/0.009081, allocations: 43.67 kB / 424.9 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.009098, allocations: 11.8 kB / 424.9 MB, free: 7.348 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.0001385/0.009237, allocations: 152.8 kB / 425 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.009267, allocations: 21.48 kB / 425 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.009609, allocations: 221 kB / 425.2 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.009614, allocations: 6.969 kB / 425.3 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.00962, allocations: 1.062 kB / 425.3 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.009627, allocations: 1.453 kB / 425.3 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.009902, allocations: 228.3 kB / 425.5 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.009903, allocations: 1.156 kB / 425.5 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.01009, allocations: 61.92 kB / 425.5 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01009, allocations: 1.25 kB / 425.5 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.01011, allocations: 7.797 kB / 425.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01011, allocations: 1.281 kB / 425.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01011, allocations: 3.938 kB / 425.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.01049, allocations: 376.8 kB / 425.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.144e-05/0.01052, allocations: 18.41 kB / 425.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.01054, allocations: 8.406 kB / 426 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.01061, allocations: 15.45 kB / 426 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.01068, allocations: 31.98 kB / 426 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.01069, allocations: 9.484 kB / 426 MB, free: 6.641 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.965e-05/0.01076, allocations: 138.9 kB / 426.1 MB, free: 6.547 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01076, allocations: 0 / 426.1 MB, free: 6.547 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002009/0.01096, allocations: 45.45 kB / 426.2 MB, free: 6.535 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 7.883e-05/0.01104, allocations: 100.6 kB / 426.3 MB, free: 6.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.01134, allocations: 197.6 kB / 426.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01134, allocations: 0 / 426.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.01145, allocations: 90.03 kB / 426.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.0117, allocations: 28.67 kB / 426.6 MB, free: 6.344 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006829/0.01238, allocations: 496.7 kB / 427.1 MB, free: 6.027 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.793e-05/0.01247, allocations: 140.7 kB / 427.2 MB, free: 5.945 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.142e-05/0.01255, allocations: 30.31 kB / 427.2 MB, free: 5.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.0126, allocations: 32.39 kB / 427.3 MB, free: 5.922 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.0126, allocations: 0 / 427.3 MB, free: 5.922 MB / 330.7 MB Notification: Performance of Templates: time 0.004216/0.01682, allocations: 2.063 MB / 429.3 MB, free: 5.703 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.7449745321646333] Failed to read output from testmodel.py, exit status != 0: 0.021606984548270702 0.030586601 0.025306326 Calling exit ...