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.001699/0.001699, allocations: 79.94 kB / 19.96 MB, free: 1.742 MB / 14.72 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.002175/0.002175, allocations: 174.9 kB / 23.24 MB, free: 4.855 MB / 14.72 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.535/1.535, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.1032/0.1032, allocations: 18.15 MB / 278.1 MB, free: 15.05 MB / 270.1 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.455e-06/2.455e-06, allocations: 0 / 415.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.912e-05/5.158e-05, allocations: 6.219 kB / 415.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003557/0.003608, allocations: 1.765 MB / 417.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.005014, allocations: 0.5844 MB / 417.9 MB, free: 216 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.00516, allocations: 7.875 kB / 417.9 MB, free: 208 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.005522, allocations: 47.69 kB / 418 MB, free: 160 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.005789, allocations: 59.62 kB / 418 MB, free: 100 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.006245, allocations: 143.7 kB / 418.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.006628, allocations: 195.5 kB / 418.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.006758, allocations: 29.8 kB / 418.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.006946, allocations: 79.8 kB / 418.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.00719, allocations: 107.7 kB / 418.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.007243, allocations: 16 kB / 418.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.972e-05/0.007283, allocations: 12 kB / 418.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.007399, allocations: 67.73 kB / 418.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.985e-05/0.007489, allocations: 51.69 kB / 418.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.00779, allocations: 191.3 kB / 418.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.007794, allocations: 0 / 418.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.007796, allocations: 0 / 418.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.007805, allocations: 7.938 kB / 418.9 MB, free: 15.21 MB / 350.1 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.001485/0.00929, allocations: 0.5052 MB / 419.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.009334, allocations: 8.922 kB / 419.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.644e-05/0.009431, allocations: 24.8 kB / 419.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007103/0.01014, allocations: 252.8 kB / 419.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.01016, allocations: 12.61 kB / 419.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.023e-05/0.01021, allocations: 16.38 kB / 419.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.01052, allocations: 144.7 kB / 419.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.01054, allocations: 8.188 kB / 419.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.01056, allocations: 384 / 419.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.01057, allocations: 7.938 kB / 419.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.01087, allocations: 128.6 kB / 420 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/0.01178, allocations: 461 kB / 420.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.01228, allocations: 190.4 kB / 420.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.01245, allocations: 83.06 kB / 420.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.01248, allocations: 4 kB / 420.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.01251, allocations: 30.56 kB / 420.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.01251, allocations: 0 / 420.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005958/0.01311, allocations: 261.7 kB / 421 MB, free: 13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.01316, allocations: 55.34 kB / 421.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.01376, allocations: 267.2 kB / 421.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.0138, allocations: 29.7 kB / 421.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.924e-05/0.0139, allocations: 131.9 kB / 421.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.059e-05/0.01397, allocations: 63.47 kB / 421.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.55e-05/0.01405, allocations: 37.7 kB / 421.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.01423, allocations: 334.8 kB / 421.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.01436, allocations: 63.89 kB / 422 MB, free: 11.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.01449, allocations: 67.95 kB / 422 MB, free: 11.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.01631, allocations: 465.7 kB / 422.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01632, allocations: 0 / 422.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004144/0.01673, allocations: 237.3 kB / 422.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.01675, allocations: 4 kB / 422.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.01675, allocations: 7.938 kB / 422.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.01677, allocations: 0 / 422.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.01698, allocations: 39.97 kB / 422.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.01699, allocations: 0 / 422.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.01723, allocations: 35.91 kB / 422.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.01725, allocations: 4 kB / 422.8 MB, free: 11.14 MB / 350.1 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.0002558/0.01751, allocations: 159 kB / 423 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.01758, allocations: 19.86 kB / 423 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005561/0.01814, allocations: 243.2 kB / 423.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.01814, allocations: 4 kB / 423.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.01815, allocations: 0 / 423.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01815, allocations: 0 / 423.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.01847, allocations: 205.2 kB / 423.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01847, allocations: 0 / 423.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.01872, allocations: 35.91 kB / 423.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.01872, allocations: 4 kB / 423.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.01875, allocations: 4 kB / 423.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.01875, allocations: 3.938 kB / 423.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.01875, allocations: 4 kB / 423.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000623/0.01938, allocations: 405.7 kB / 423.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.01943, allocations: 23.91 kB / 423.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.01947, allocations: 7.938 kB / 423.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.01974, allocations: 31.89 kB / 423.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.0198, allocations: 11.97 kB / 423.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.01981, allocations: 8 kB / 424 MB, free: 9.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004638/0.02028, allocations: 216.3 kB / 424.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02028, allocations: 0 / 424.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.02055, allocations: 35.95 kB / 424.2 MB, free: 9.684 MB / 350.1 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.0001327/0.02068, allocations: 103.2 kB / 424.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000378/0.02106, allocations: 163.8 kB / 424.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.02107, allocations: 7.938 kB / 424.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.02127, allocations: 91.8 kB / 424.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.02174, allocations: 42.31 kB / 424.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.02287, allocations: 474.1 kB / 425.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.02309, allocations: 140.2 kB / 425.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.02327, allocations: 45.58 kB / 425.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.02335, allocations: 20.5 kB / 425.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.02335, allocations: 0 / 425.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of Templates: time 0.006287/0.02964, allocations: 1.973 MB / 427.2 MB, free: 6.621 MB / 350.1 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 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.567344006150961] Failed to read output from testmodel.py, exit status != 0: 0.039602555334568024 0.052856199000000006 0.042000768 Calling exit ...