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.00106/0.00106, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001222/0.001222, allocations: 165 kB / 23.81 MB, free: 0.7539 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.021/1.021, allocations: 177.1 MB / 204.2 MB, free: 5.203 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.1178/0.1178, allocations: 18.13 MB / 278.9 MB, free: 11.15 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 2.805e-06/2.805e-06, allocations: 0 / 357.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.641e-05/3.921e-05, allocations: 5.266 kB / 357.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002921/0.00296, allocations: 1.822 MB / 359.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.004192, allocations: 0.6077 MB / 359.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.004341, allocations: 0 / 359.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.004667, allocations: 39.72 kB / 359.8 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.004902, allocations: 59.56 kB / 359.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.005211, allocations: 135.7 kB / 359.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.005473, allocations: 203.4 kB / 360.1 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.005596, allocations: 41.64 kB / 360.2 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.005717, allocations: 83.78 kB / 360.3 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.005885, allocations: 103.7 kB / 360.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.005923, allocations: 16 kB / 360.4 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.332e-05/0.005946, allocations: 12 kB / 360.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.006027, allocations: 67.73 kB / 360.5 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.00609, allocations: 51.83 kB / 360.5 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.006286, allocations: 139.5 kB / 360.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.006288, allocations: 0 / 360.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006289, allocations: 7.938 kB / 360.7 MB, free: 4.414 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.006295, allocations: 4 kB / 360.7 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007257/0.00702, allocations: 0.5506 MB / 361.2 MB, free: 3.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.007063, allocations: 12.92 kB / 361.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.007132, allocations: 40.8 kB / 361.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.00745, allocations: 228.6 kB / 361.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.007471, allocations: 8.609 kB / 361.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.007508, allocations: 12.38 kB / 361.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.007696, allocations: 111.9 kB / 361.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.007708, allocations: 192 / 361.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.007722, allocations: 4.375 kB / 361.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.007734, allocations: 11.94 kB / 361.6 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.007874, allocations: 52.66 kB / 361.7 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006339/0.008508, allocations: 464.3 kB / 362.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.008807, allocations: 134.9 kB / 362.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.374e-05/0.008881, allocations: 43.67 kB / 362.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.008907, allocations: 7.938 kB / 362.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.008931, allocations: 37.39 kB / 362.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.008932, allocations: 0 / 362.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003001/0.009232, allocations: 144.4 kB / 362.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.009263, allocations: 55.41 kB / 362.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.009431, allocations: 249.8 kB / 362.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.00945, allocations: 33.7 kB / 362.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.009524, allocations: 175 kB / 363 MB, free: 1.895 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.009576, allocations: 63.48 kB / 363.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.00963, allocations: 43.36 kB / 363.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.009777, allocations: 0.5117 MB / 363.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.202e-05/0.009829, allocations: 19.92 kB / 363.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-05/0.009875, allocations: 23.98 kB / 363.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.01005, allocations: 114.2 kB / 363.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01006, allocations: 0 / 363.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001885/0.01025, allocations: 141.5 kB / 363.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.01026, allocations: 4 kB / 363.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01027, allocations: 0 / 363.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.01028, allocations: 7.938 kB / 363.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.01041, allocations: 43.91 kB / 364 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.01041, allocations: 0 / 364 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.232e-05/0.01049, allocations: 19.94 kB / 364 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.0105, allocations: 4 kB / 364 MB, free: 0.8789 MB / 282.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.0001689/0.01067, allocations: 185.7 kB / 364.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.01071, allocations: 27.86 kB / 364.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.01097, allocations: 156.7 kB / 364.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01097, allocations: 11.88 kB / 364.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01098, allocations: 0 / 364.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01098, allocations: 0 / 364.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.01117, allocations: 200.5 kB / 364.6 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01117, allocations: 4 kB / 364.6 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.0113, allocations: 35.91 kB / 364.6 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.0113, allocations: 0 / 364.6 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.01133, allocations: 8 kB / 364.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.01133, allocations: 0 / 364.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.01133, allocations: 3.938 kB / 364.6 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.01166, allocations: 333.3 kB / 364.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.01169, allocations: 19.83 kB / 364.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.01171, allocations: 8 kB / 365 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/0.0118, allocations: 19.98 kB / 365 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.01184, allocations: 15.91 kB / 365 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.01185, allocations: 4 kB / 365 MB, free: 15.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.937e-05/0.01195, allocations: 180.3 kB / 365.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.01195, allocations: 7.938 kB / 365.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001912/0.01214, allocations: 43.89 kB / 365.2 MB, free: 15.58 MB / 298.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 8.747e-05/0.01223, allocations: 91.25 kB / 365.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.01242, allocations: 110.1 kB / 365.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01243, allocations: 0 / 365.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.0125, allocations: 59.59 kB / 365.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.01279, allocations: 34.64 kB / 365.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006948/0.01349, allocations: 426.3 kB / 365.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.689e-05/0.01356, allocations: 95.95 kB / 366 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.124e-05/0.01365, allocations: 33.45 kB / 366.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.01371, allocations: 20.5 kB / 366.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01371, allocations: 0 / 366.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of Templates: time 0.004058/0.01777, allocations: 2.019 MB / 368.1 MB, free: 12.67 MB / 298.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=240 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.292412932962179]