Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.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.0007584/0.0007584, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.0007877/0.0007877, allocations: 165.2 kB / 23.98 MB, free: 0.582 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 0.8478/0.8478, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.05769/0.05769, allocations: 18.12 MB / 278.8 MB, free: 11.54 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_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 416.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.37e-05, allocations: 7.531 kB / 416.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.001932/0.001956, allocations: 1.917 MB / 418.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000988/0.002944, allocations: 0.6991 MB / 418.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.003052, allocations: 8.125 kB / 418.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.003402, allocations: 96.12 kB / 419 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.003577, allocations: 110.2 kB / 419.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.004002, allocations: 292.5 kB / 419.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.004269, allocations: 332.1 kB / 419.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.00438, allocations: 52.11 kB / 419.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.004505, allocations: 147.4 kB / 419.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.004709, allocations: 183.9 kB / 420.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.004749, allocations: 22.53 kB / 420.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.567e-05/0.004775, allocations: 23.19 kB / 420.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.582e-05/0.004861, allocations: 104.4 kB / 420.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.004923, allocations: 73.08 kB / 420.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.005169, allocations: 280.5 kB / 420.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.005172, allocations: 0.7969 kB / 420.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005173, allocations: 1.125 kB / 420.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.005178, allocations: 4 kB / 420.6 MB, free: 10.06 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001057/0.006235, allocations: 0.7097 MB / 421.3 MB, free: 9.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.006267, allocations: 9.938 kB / 421.3 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.006315, allocations: 36.3 kB / 421.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/0.006849, allocations: 389.3 kB / 421.8 MB, free: 9.402 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.006865, allocations: 13.97 kB / 421.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.006894, allocations: 18.88 kB / 421.8 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.007116, allocations: 179.3 kB / 422 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.007126, allocations: 192 / 422 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.00714, allocations: 5.781 kB / 422 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.007146, allocations: 10.41 kB / 422 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.007379, allocations: 190.5 kB / 422.2 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.007981, allocations: 0.5253 MB / 422.7 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.008479, allocations: 337.8 kB / 423 MB, free: 8.828 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.008584, allocations: 93.94 kB / 423.1 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.008609, allocations: 2.531 kB / 423.1 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.192e-05/0.008621, allocations: 37.55 kB / 423.1 MB, free: 8.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.008622, allocations: 3.938 kB / 423.2 MB, free: 8.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006819/0.009304, allocations: 422.5 kB / 423.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.009326, allocations: 57.75 kB / 423.6 MB, free: 8.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.009845, allocations: 458.1 kB / 424.1 MB, free: 8.355 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.009858, allocations: 31.67 kB / 424.1 MB, free: 8.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.009925, allocations: 164.3 kB / 424.3 MB, free: 8.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.009961, allocations: 86.34 kB / 424.3 MB, free: 8.109 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.01001, allocations: 45.47 kB / 424.4 MB, free: 8.078 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.01005, allocations: 341.7 kB / 424.7 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.914e-05/0.01015, allocations: 89.88 kB / 424.8 MB, free: 7.719 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.01026, allocations: 110.4 kB / 424.9 MB, free: 7.672 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008437/0.0111, allocations: 0.515 MB / 425.4 MB, free: 7.523 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01111, allocations: 8.812 kB / 425.4 MB, free: 7.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003572/0.01146, allocations: 339.6 kB / 425.8 MB, free: 7.375 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01148, allocations: 7.375 kB / 425.8 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01148, allocations: 1.5 kB / 425.8 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.01162, allocations: 47.83 kB / 425.8 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.01173, allocations: 40.31 kB / 425.9 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006843/0.01241, allocations: 1.472 MB / 427.3 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.01261, allocations: 68.88 kB / 427.4 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.01262, allocations: 8.5 kB / 427.4 MB, free: 6 MB / 330.7 MB Warning: Assuming fixed start value for the following 5 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] P.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.01274, allocations: 179.3 kB / 427.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.01277, allocations: 33.69 kB / 427.6 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.01281, allocations: 40.28 kB / 427.7 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01281, allocations: 3.781 kB / 427.7 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.01282, allocations: 1.25 kB / 427.7 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01282, allocations: 5.734 kB / 427.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.01301, allocations: 251.9 kB / 427.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01301, allocations: 3.938 kB / 427.9 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.452e-05/0.01311, allocations: 32.08 kB / 428 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.723e-05/0.0132, allocations: 48.03 kB / 428 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.01321, allocations: 8.875 kB / 428 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006004/0.01381, allocations: 1.47 MB / 429.5 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01381, allocations: 1.406 kB / 429.5 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004494/0.01426, allocations: 0.5187 MB / 430 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.0143, allocations: 44.22 kB / 430 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.01432, allocations: 7.75 kB / 430.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.01452, allocations: 62.34 kB / 430.1 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.01456, allocations: 18.84 kB / 430.1 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.01457, allocations: 4.922 kB / 430.1 MB, free: 3.922 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004312/0.015, allocations: 361.4 kB / 430.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.015, allocations: 0 / 430.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001978/0.01519, allocations: 57.05 kB / 430.5 MB, free: 3.781 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (P.x_scaled[1],H.x_scaled[1],M.x_scaled[1],K.x_scaled[1],C.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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.046e-05/0.01527, allocations: 113.9 kB / 430.7 MB, free: 3.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003827/0.01565, allocations: 352.5 kB / 431 MB, free: 3.492 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01565, allocations: 0 / 431 MB, free: 3.492 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.01581, allocations: 234.9 kB / 431.2 MB, free: 3.344 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.01607, allocations: 52.34 kB / 431.3 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007046/0.01677, allocations: 0.6501 MB / 431.9 MB, free: 2.953 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.0169, allocations: 191.6 kB / 432.1 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.01696, allocations: 24.09 kB / 432.1 MB, free: 2.855 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01696, allocations: 4 kB / 432.1 MB, free: 2.852 MB / 330.7 MB Notification: Performance of Templates: time 0.004179/0.02114, allocations: 4.793 MB / 436.9 MB, free: 0.9805 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.71569000557065] Failed to read output from testmodel.py, exit status != 0: 0.025782142765820026 0.033556987 0.026822786 Calling exit ...