Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 107.4 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 190.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.09928/0.09928, allocations: 22.7 MB / 325.4 MB, free: 3.535 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 457.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1212, allocations: 58.02 MB / 0.5036 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.003314/0.1246, allocations: 1.941 MB / 0.5055 GB, free: 5.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1259, allocations: 0.678 MB / 0.5061 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.126, allocations: 7.938 kB / 0.5062 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.1263, allocations: 67.55 kB / 0.5062 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.1266, allocations: 107.4 kB / 0.5063 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.1269, allocations: 147.8 kB / 0.5065 GB, free: 4.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005304/0.1275, allocations: 431.2 kB / 0.5069 GB, free: 3.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.1276, allocations: 53.06 kB / 0.5069 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.1278, allocations: 167.5 kB / 0.5071 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.1282, allocations: 215.2 kB / 0.5073 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.1282, allocations: 20 kB / 0.5073 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.214e-05/0.1282, allocations: 28 kB / 0.5073 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.1284, allocations: 103.6 kB / 0.5074 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.1285, allocations: 119.2 kB / 0.5075 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.1288, allocations: 270.8 kB / 0.5078 GB, free: 2.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1288, allocations: 3.938 kB / 0.5078 GB, free: 2.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1288, allocations: 0 / 0.5078 GB, free: 2.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.1289, allocations: 0 / 0.5078 GB, free: 2.797 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001985/0.1308, allocations: 0.7514 MB / 0.5085 GB, free: 1.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1309, allocations: 8.031 kB / 0.5085 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.543e-05/0.131, allocations: 36.7 kB / 0.5086 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.132, allocations: 416.2 kB / 0.509 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.132, allocations: 8.375 kB / 0.509 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.1321, allocations: 24.27 kB / 0.509 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003559/0.1324, allocations: 190.5 kB / 0.5092 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1324, allocations: 0 / 0.5092 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.1324, allocations: 4 kB / 0.5092 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.1325, allocations: 4 kB / 0.5092 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/0.1328, allocations: 179.9 kB / 0.5094 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.134, allocations: 0.6408 MB / 0.51 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.1346, allocations: 246.4 kB / 0.5102 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.1348, allocations: 104.8 kB / 0.5103 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.1348, allocations: 8.375 kB / 0.5103 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.1349, allocations: 34.5 kB / 0.5104 GB, free: 4 kB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.1349, allocations: 0 / 0.5104 GB, free: 4 kB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.3177/0.4525, allocations: 333.5 kB / 0.5107 GB, free: 16.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.4526, allocations: 57.25 kB / 0.5107 GB, free: 16.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.4536, allocations: 421.5 kB / 0.5111 GB, free: 16.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.4536, allocations: 31.92 kB / 0.5112 GB, free: 16.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.4537, allocations: 158.7 kB / 0.5113 GB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.392e-05/0.4538, allocations: 83.08 kB / 0.5114 GB, free: 15.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.399e-05/0.4539, allocations: 43.55 kB / 0.5115 GB, free: 15.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.454, allocations: 341 kB / 0.5118 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.4542, allocations: 89.27 kB / 0.5119 GB, free: 15.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.4544, allocations: 88.36 kB / 0.5119 GB, free: 15.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.4567, allocations: 0.6341 MB / 0.5126 GB, free: 15.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4567, allocations: 3.375 kB / 0.5126 GB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000455/0.4572, allocations: 313.5 kB / 0.5129 GB, free: 15.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4572, allocations: 3.391 kB / 0.5129 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4572, allocations: 5.156 kB / 0.5129 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.4572, allocations: 1.75 kB / 0.5129 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.4575, allocations: 48.27 kB / 0.5129 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.4575, allocations: 1.406 kB / 0.5129 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.4579, allocations: 64.89 kB / 0.513 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.4579, allocations: 9.375 kB / 0.513 GB, free: 15.54 MB / 382.1 MB Warning: Assuming fixed start value for the following 7 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 FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] FA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] 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 (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 prepare postOptimizeDAE: time 0.0002211/0.4581, allocations: 165.6 kB / 0.5132 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.4582, allocations: 29.91 kB / 0.5132 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005745/0.4588, allocations: 311.7 kB / 0.5135 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4588, allocations: 4.703 kB / 0.5135 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4588, allocations: 0 / 0.5135 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4588, allocations: 1.688 kB / 0.5135 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.4592, allocations: 352.8 kB / 0.5138 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4592, allocations: 1.453 kB / 0.5138 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.4595, allocations: 41.97 kB / 0.5139 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4595, allocations: 3.125 kB / 0.5139 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.4595, allocations: 14.2 kB / 0.5139 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4595, allocations: 1.578 kB / 0.5139 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4595, allocations: 2.656 kB / 0.5139 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006695/0.4602, allocations: 0.4991 MB / 0.5144 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.4602, allocations: 115 kB / 0.5145 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.4603, allocations: 9.656 kB / 0.5145 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.4607, allocations: 54.84 kB / 0.5145 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.4608, allocations: 11.77 kB / 0.5146 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.4608, allocations: 10.22 kB / 0.5146 GB, free: 14.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007492/0.4615, allocations: 329.8 kB / 0.5149 GB, free: 14.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4615, allocations: 0 / 0.5149 GB, free: 14.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.4618, allocations: 45 kB / 0.5149 GB, free: 14.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,FA2.x_scaled[1],FA1.x_scaled[1]) * 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 (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 0.0001162/0.4619, allocations: 109.2 kB / 0.515 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004907/0.4624, allocations: 225.7 kB / 0.5152 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4624, allocations: 3.094 kB / 0.5152 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.4626, allocations: 111.4 kB / 0.5153 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.4631, allocations: 61.81 kB / 0.5154 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.4644, allocations: 0.6612 MB / 0.5161 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.4647, allocations: 0.7883 MB / 0.5168 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001832/0.4649, allocations: 65.06 kB / 0.5169 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-05/0.465, allocations: 29.14 kB / 0.5169 GB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.465, allocations: 0 / 0.5169 GB, free: 13.73 MB / 382.1 MB Notification: Performance of Templates: time 0.008037/0.473, allocations: 2.969 MB / 0.5198 GB, free: 13.57 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.086303212679923] Failed to read output from testmodel.py, exit status != 0: 0.48116800002753735 0.49146273999999995 0.360127996 Calling exit ...