Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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.000682/0.000682, 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.0008546/0.0008546, allocations: 166 kB / 24.09 MB, free: 428 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.9105/0.9105, allocations: 177.1 MB / 204.4 MB, free: 5.711 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.06116/0.06116, allocations: 18.13 MB / 279 MB, free: 11.49 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_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") translateModel(AES.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 416.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.441e-05/3.591e-05, allocations: 2.281 kB / 416.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002578/0.002614, allocations: 1.762 MB / 418.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003768, allocations: 0.5919 MB / 418.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.003883, allocations: 2.75 kB / 418.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.004225, allocations: 36.59 kB / 418.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.004426, allocations: 66.8 kB / 419 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.004775, allocations: 132.6 kB / 419.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.005096, allocations: 204.2 kB / 419.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.00523, allocations: 33.8 kB / 419.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.005377, allocations: 83.66 kB / 419.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.005585, allocations: 101 kB / 419.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.213e-05/0.005637, allocations: 15.5 kB / 419.6 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.871e-05/0.005666, allocations: 13.69 kB / 419.6 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.005776, allocations: 72.14 kB / 419.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.942e-05/0.005855, allocations: 54.98 kB / 419.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.006182, allocations: 184.2 kB / 419.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006186, allocations: 0 / 419.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006187, allocations: 0 / 419.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.006193, allocations: 5.312 kB / 419.9 MB, free: 10.49 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001095/0.007288, allocations: 0.4998 MB / 420.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.007341, allocations: 10.39 kB / 420.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.007408, allocations: 23.8 kB / 420.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.007939, allocations: 262.2 kB / 420.7 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.007961, allocations: 13.39 kB / 420.7 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.648e-05/0.008008, allocations: 14.94 kB / 420.7 MB, free: 9.922 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.008317, allocations: 143.8 kB / 420.8 MB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.008333, allocations: 1.688 kB / 420.8 MB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.008353, allocations: 5.125 kB / 420.8 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.008362, allocations: 8.094 kB / 420.9 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.008659, allocations: 129.6 kB / 421 MB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/0.009525, allocations: 461.6 kB / 421.4 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.01003, allocations: 186.9 kB / 421.6 MB, free: 9.449 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.01017, allocations: 90.27 kB / 421.7 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.0102, allocations: 1.719 kB / 421.7 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.01022, allocations: 37.22 kB / 421.7 MB, free: 9.367 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.01022, allocations: 4 kB / 421.7 MB, free: 9.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.000551/0.01077, allocations: 257.2 kB / 422 MB, free: 9.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.0108, allocations: 53.47 kB / 422 MB, free: 9.195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.01123, allocations: 261.1 kB / 422.3 MB, free: 9.066 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.01125, allocations: 31.02 kB / 422.3 MB, free: 9.031 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.01131, allocations: 134.5 kB / 422.5 MB, free: 8.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.01137, allocations: 67.94 kB / 422.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.01143, allocations: 33.45 kB / 422.6 MB, free: 8.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.442e-05/0.01148, allocations: 335.4 kB / 422.9 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.01161, allocations: 62.83 kB / 423 MB, free: 8.488 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.01175, allocations: 68.5 kB / 423 MB, free: 8.469 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.01315, allocations: 462.3 kB / 423.5 MB, free: 8.355 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.01315, allocations: 4.781 kB / 423.5 MB, free: 8.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002864/0.01344, allocations: 233 kB / 423.7 MB, free: 8.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.01345, allocations: 5.859 kB / 423.7 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01346, allocations: 3.938 kB / 423.7 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.01347, allocations: 1.188 kB / 423.7 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.01359, allocations: 40.02 kB / 423.8 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.0136, allocations: 5.094 kB / 423.8 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.01372, allocations: 39.67 kB / 423.8 MB, free: 8.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.01374, allocations: 8.203 kB / 423.8 MB, free: 8.223 MB / 330.7 MB Warning: Assuming fixed start value for the following 5 variables: Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001346/0.01387, allocations: 147.4 kB / 423.9 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.0139, allocations: 23.42 kB / 424 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.01424, allocations: 244.7 kB / 424.2 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.01424, allocations: 2.25 kB / 424.2 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.01425, allocations: 1.844 kB / 424.2 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.01425, allocations: 0.7969 kB / 424.2 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.01446, allocations: 207.7 kB / 424.4 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01446, allocations: 1.281 kB / 424.4 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.01459, allocations: 36.67 kB / 424.5 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.01459, allocations: 1.125 kB / 424.5 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.01461, allocations: 7.969 kB / 424.5 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.01461, allocations: 5.062 kB / 424.5 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01462, allocations: 0.6094 kB / 424.5 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004285/0.01504, allocations: 403.8 kB / 424.9 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.01508, allocations: 18.03 kB / 424.9 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.0151, allocations: 7.922 kB / 424.9 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.01524, allocations: 41.3 kB / 424.9 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.0153, allocations: 11.45 kB / 424.9 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.01531, allocations: 3.484 kB / 424.9 MB, free: 7.527 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002543/0.01556, allocations: 210.6 kB / 425.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01556, allocations: 1.281 kB / 425.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.01578, allocations: 40.36 kB / 425.2 MB, free: 7.414 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001022/0.01588, allocations: 102.6 kB / 425.3 MB, free: 7.316 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002882/0.01617, allocations: 167.5 kB / 425.5 MB, free: 7.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01617, allocations: 1.25 kB / 425.5 MB, free: 7.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.01629, allocations: 88.86 kB / 425.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.01657, allocations: 35.94 kB / 425.6 MB, free: 7.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.01731, allocations: 466.1 kB / 426 MB, free: 6.965 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.01745, allocations: 137.8 kB / 426.2 MB, free: 6.891 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.01757, allocations: 44.58 kB / 426.2 MB, free: 6.883 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.01763, allocations: 23.83 kB / 426.2 MB, free: 6.871 MB / 330.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01763, allocations: 1.125 kB / 426.2 MB, free: 6.871 MB / 330.7 MB Notification: Performance of Templates: time 0.005409/0.02304, allocations: 1.986 MB / 428.2 MB, free: 6.66 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & ./AES_AES.Coursework.Typical_actuation_schemes.DaisyChain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.8888621358200908] Failed to read output from testmodel.py, exit status != 0: 0.02994465082883835 0.041191759 0.033033913000000005 Calling exit ...