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.001402/0.001402, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.001562/0.001562, allocations: 159.5 kB / 23.01 MB, free: 4.961 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.562/1.562, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.09775/0.09775, allocations: 17.81 MB / 277.6 MB, free: 15.34 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 67.89 kB / 414.6 MB, free: 4.512 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1438, allocations: 59.57 MB / 474.2 MB, free: 8.832 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.005034/0.1489, allocations: 1.775 MB / 476 MB, free: 7.047 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1508, allocations: 0.5845 MB / 476.6 MB, free: 6.457 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.1509, allocations: 3.938 kB / 476.6 MB, free: 6.453 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.1513, allocations: 43.7 kB / 476.6 MB, free: 6.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.1516, allocations: 63.69 kB / 476.7 MB, free: 6.348 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.1521, allocations: 103.8 kB / 476.8 MB, free: 6.246 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007262/0.1528, allocations: 307.4 kB / 477.1 MB, free: 5.945 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.153, allocations: 25.8 kB / 477.1 MB, free: 5.918 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.1532, allocations: 115.6 kB / 477.2 MB, free: 5.805 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.1536, allocations: 123.5 kB / 477.3 MB, free: 5.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.674e-05/0.1536, allocations: 20 kB / 477.3 MB, free: 5.664 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.204e-05/0.1537, allocations: 12 kB / 477.4 MB, free: 5.652 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.1538, allocations: 71.75 kB / 477.4 MB, free: 5.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.154, allocations: 67.56 kB / 477.5 MB, free: 5.516 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.1543, allocations: 183.2 kB / 477.7 MB, free: 5.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1543, allocations: 3.984 kB / 477.7 MB, free: 5.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1543, allocations: 0 / 477.7 MB, free: 5.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1543, allocations: 0 / 477.7 MB, free: 5.328 MB / 446.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.001812/0.1561, allocations: 0.5052 MB / 478.2 MB, free: 4.789 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1562, allocations: 8.922 kB / 478.2 MB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.862e-05/0.1563, allocations: 24.8 kB / 478.2 MB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008492/0.1571, allocations: 261.6 kB / 478.5 MB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.1571, allocations: 8.609 kB / 478.5 MB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.1572, allocations: 12.38 kB / 478.5 MB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.1576, allocations: 151.8 kB / 478.6 MB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1576, allocations: 3.953 kB / 478.6 MB, free: 4.301 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.1576, allocations: 4 kB / 478.6 MB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1576, allocations: 8 kB / 478.7 MB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.158, allocations: 128.6 kB / 478.8 MB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.1593, allocations: 453 kB / 479.2 MB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006697/0.1599, allocations: 194.3 kB / 479.4 MB, free: 3.492 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.1602, allocations: 80.81 kB / 479.5 MB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.1602, allocations: 4 kB / 479.5 MB, free: 3.406 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.1603, allocations: 42.55 kB / 479.5 MB, free: 3.355 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.325e-06/0.1603, allocations: 0 / 479.5 MB, free: 3.355 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008043/0.1611, allocations: 253.6 kB / 479.8 MB, free: 3.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.1611, allocations: 59.34 kB / 479.8 MB, free: 3.031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008014/0.1619, allocations: 263.2 kB / 480.1 MB, free: 2.766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.162, allocations: 33.69 kB / 480.1 MB, free: 2.727 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.1621, allocations: 128 kB / 480.3 MB, free: 2.598 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.892e-05/0.1622, allocations: 63.47 kB / 480.3 MB, free: 2.535 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1623, allocations: 37.7 kB / 480.4 MB, free: 2.492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.1625, allocations: 330.8 kB / 480.7 MB, free: 2.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.1627, allocations: 67.89 kB / 480.7 MB, free: 2.094 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.1629, allocations: 59.97 kB / 480.8 MB, free: 2.035 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/0.1651, allocations: 473.9 kB / 481.3 MB, free: 1.574 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.1651, allocations: 3.938 kB / 481.3 MB, free: 1.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004439/0.1655, allocations: 233.4 kB / 481.5 MB, free: 1.336 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1655, allocations: 4 kB / 481.5 MB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1655, allocations: 0 / 481.5 MB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1655, allocations: 4 kB / 481.5 MB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.1658, allocations: 35.97 kB / 481.5 MB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1658, allocations: 4 kB / 481.5 MB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.166, allocations: 39.84 kB / 481.6 MB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.166, allocations: 4 kB / 481.6 MB, free: 1.246 MB / 446.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.0002331/0.1663, allocations: 151 kB / 481.7 MB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.1663, allocations: 23.84 kB / 481.8 MB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.1668, allocations: 243.3 kB / 482 MB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1668, allocations: 0 / 482 MB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1668, allocations: 0 / 482 MB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.1668, allocations: 3.984 kB / 482 MB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.1671, allocations: 213.1 kB / 482.2 MB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1671, allocations: 0 / 482.2 MB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.1674, allocations: 39.97 kB / 482.2 MB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.1674, allocations: 3.938 kB / 482.3 MB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.1674, allocations: 8 kB / 482.3 MB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1674, allocations: 0 / 482.3 MB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1674, allocations: 3.938 kB / 482.3 MB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006406/0.168, allocations: 401.8 kB / 482.7 MB, free: 116 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.1681, allocations: 31.72 kB / 482.7 MB, free: 84 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.1681, allocations: 8.062 kB / 482.7 MB, free: 76 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.1684, allocations: 35.95 kB / 482.7 MB, free: 40 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.1685, allocations: 7.984 kB / 482.7 MB, free: 32 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.1685, allocations: 7.984 kB / 482.7 MB, free: 24 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.3147/0.4832, allocations: 206.5 kB / 482.9 MB, free: 52.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4832, allocations: 0 / 482.9 MB, free: 52.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.4837, allocations: 35.69 kB / 483 MB, free: 52.34 MB / 446.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.0001076/0.4838, allocations: 102 kB / 483.1 MB, free: 52.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003841/0.4842, allocations: 168.7 kB / 483.2 MB, free: 52.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4842, allocations: 2.844 kB / 483.3 MB, free: 52.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.4843, allocations: 85.52 kB / 483.3 MB, free: 52.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.4847, allocations: 45.06 kB / 483.4 MB, free: 52.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008261/0.4855, allocations: 488.2 kB / 483.9 MB, free: 52.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.79e-05/0.4856, allocations: 144.7 kB / 484 MB, free: 51.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.4858, allocations: 41.75 kB / 484 MB, free: 51.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.4858, allocations: 23.12 kB / 484.1 MB, free: 51.95 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4858, allocations: 0 / 484.1 MB, free: 51.95 MB / 446.1 MB Notification: Performance of Templates: time 0.005071/0.4909, allocations: 1.972 MB / 486 MB, free: 51.84 MB / 446.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 -s ida -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.075528939953074] Failed to read output from testmodel.py, exit status != 0: 0.5014177280245349 0.509772966 0.35298895900000005 Calling exit ...