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.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.001658/0.001658, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002036/0.002036, allocations: 189.4 kB / 22.23 MB, free: 5.137 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.62/1.62, allocations: 225.6 MB / 251 MB, free: 13.02 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.1052/0.1052, allocations: 22.7 MB / 329 MB, free: 2.363 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.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 0.001907/0.001907, allocations: 63.89 kB / 463.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1307, allocations: 58.07 MB / 0.5089 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003855/0.1345, allocations: 1.815 MB / 0.5107 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1359, allocations: 0.5884 MB / 0.5113 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.136, allocations: 7.938 kB / 0.5113 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.1363, allocations: 51.64 kB / 0.5113 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.1366, allocations: 59.69 kB / 0.5114 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.1369, allocations: 103.8 kB / 0.5115 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.1374, allocations: 307.4 kB / 0.5118 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1375, allocations: 37.72 kB / 0.5118 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.1377, allocations: 119.6 kB / 0.5119 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.138, allocations: 127.6 kB / 0.5121 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.975e-05/0.138, allocations: 19.94 kB / 0.5121 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.703e-05/0.138, allocations: 16 kB / 0.5121 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.1382, allocations: 63.81 kB / 0.5122 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1383, allocations: 83.45 kB / 0.5122 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.1386, allocations: 183.2 kB / 0.5124 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1386, allocations: 0 / 0.5124 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1386, allocations: 0 / 0.5124 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1386, allocations: 0 / 0.5124 GB, free: 0.8633 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.00159/0.1402, allocations: 0.5091 MB / 0.5129 GB, free: 328 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.1402, allocations: 16.02 kB / 0.5129 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/0.1403, allocations: 24.8 kB / 0.5129 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007178/0.141, allocations: 245.9 kB / 0.5132 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.141, allocations: 12.55 kB / 0.5132 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2795/0.4206, allocations: 11.67 kB / 0.5132 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.421, allocations: 150.6 kB / 0.5134 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.421, allocations: 0 / 0.5134 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.4211, allocations: 4.969 kB / 0.5134 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.4211, allocations: 3.031 kB / 0.5134 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003354/0.4214, allocations: 131.9 kB / 0.5135 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.4224, allocations: 0.5074 MB / 0.514 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.4229, allocations: 190.6 kB / 0.5142 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.4231, allocations: 82.7 kB / 0.5142 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.4231, allocations: 5.938 kB / 0.5142 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.4231, allocations: 36.06 kB / 0.5143 GB, free: 15.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.924e-06/0.4231, allocations: 3.938 kB / 0.5143 GB, free: 15.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006206/0.4237, allocations: 261 kB / 0.5145 GB, free: 15.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.4238, allocations: 53.22 kB / 0.5146 GB, free: 14.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.4243, allocations: 263.8 kB / 0.5148 GB, free: 14.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.4243, allocations: 28.2 kB / 0.5149 GB, free: 14.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.4244, allocations: 126.9 kB / 0.515 GB, free: 14.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.4245, allocations: 70.73 kB / 0.5151 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/0.4246, allocations: 40.06 kB / 0.5151 GB, free: 14.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.4246, allocations: 328.3 kB / 0.5154 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.4248, allocations: 62.56 kB / 0.5155 GB, free: 14.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.4249, allocations: 61.91 kB / 0.5155 GB, free: 14.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/0.4268, allocations: 469.9 kB / 0.516 GB, free: 14.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4268, allocations: 0 / 0.516 GB, free: 14.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003978/0.4272, allocations: 237 kB / 0.5162 GB, free: 14.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4272, allocations: 4.969 kB / 0.5162 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4272, allocations: 5.422 kB / 0.5162 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.4272, allocations: 5.172 kB / 0.5162 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.4274, allocations: 37.3 kB / 0.5162 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4274, allocations: 0 / 0.5162 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.4277, allocations: 40.5 kB / 0.5163 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.4277, allocations: 6.625 kB / 0.5163 GB, free: 14.33 MB / 382.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.000184/0.4279, allocations: 151.7 kB / 0.5164 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.4279, allocations: 15.41 kB / 0.5164 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.4283, allocations: 243 kB / 0.5167 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4284, allocations: 3.938 kB / 0.5167 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4284, allocations: 1.266 kB / 0.5167 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4284, allocations: 0 / 0.5167 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.4287, allocations: 261.2 kB / 0.5169 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4287, allocations: 5.531 kB / 0.5169 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.4289, allocations: 39.62 kB / 0.517 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4289, allocations: 4.609 kB / 0.517 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.4289, allocations: 7.156 kB / 0.517 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.4289, allocations: 1.188 kB / 0.517 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4289, allocations: 2.531 kB / 0.517 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/0.4295, allocations: 411.1 kB / 0.5174 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.4295, allocations: 24.8 kB / 0.5174 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.4296, allocations: 3.375 kB / 0.5174 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.4298, allocations: 32.59 kB / 0.5174 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.4299, allocations: 13.7 kB / 0.5175 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.4299, allocations: 5.5 kB / 0.5175 GB, free: 13.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004193/0.4303, allocations: 212.7 kB / 0.5177 GB, free: 13.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4303, allocations: 1.469 kB / 0.5177 GB, free: 13.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.4306, allocations: 36.16 kB / 0.5177 GB, free: 13.75 MB / 382.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.0001046/0.4307, allocations: 103.6 kB / 0.5178 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003798/0.4311, allocations: 166.8 kB / 0.518 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4311, allocations: 0 / 0.518 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.4312, allocations: 86.75 kB / 0.518 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.4316, allocations: 45.66 kB / 0.5181 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009542/0.4326, allocations: 0.494 MB / 0.5186 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.4328, allocations: 0.7556 MB / 0.5193 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.4329, allocations: 43.23 kB / 0.5193 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.433, allocations: 24.55 kB / 0.5194 GB, free: 12.7 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.433, allocations: 0 / 0.5194 GB, free: 12.7 MB / 382.1 MB Notification: Performance of Templates: time 0.006232/0.4392, allocations: 2.054 MB / 0.5214 GB, free: 12.59 MB / 382.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: 5.414282728917897] Failed to read output from testmodel.py, exit status != 0: 0.4477597828954458 0.460186179 0.31852982899999993 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f6f9ffa17b0>