Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Decoupling.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.00152/0.00152, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001528/0.001528, allocations: 164.3 kB / 23.01 MB, free: 4.941 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.527/1.527, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.1048/0.1048, allocations: 17.8 MB / 277.6 MB, free: 15.33 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_control_structures.Decoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Decoupling") translateModel(AES.Coursework.Typical_control_structures.Decoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Decoupling") [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.002404/0.002404, allocations: 68.08 kB / 414.6 MB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1042, allocations: 59.56 MB / 474.2 MB, free: 8.816 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Decoupling): time 0.002981/0.1072, allocations: 1.797 MB / 476 MB, free: 7.012 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.1097, allocations: 1.825 MB / 477.8 MB, free: 5.164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.1099, allocations: 19.88 kB / 477.8 MB, free: 5.145 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.1103, allocations: 166.8 kB / 478 MB, free: 4.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005324/0.1109, allocations: 230.9 kB / 478.2 MB, free: 4.754 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006752/0.1115, allocations: 435.3 kB / 478.7 MB, free: 4.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.1131, allocations: 1.214 MB / 479.9 MB, free: 3.109 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.1133, allocations: 106 kB / 480 MB, free: 3.004 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005121/0.1138, allocations: 434.6 kB / 480.4 MB, free: 2.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005134/0.1143, allocations: 406.2 kB / 480.8 MB, free: 2.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.1144, allocations: 64 kB / 480.9 MB, free: 2.117 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.1146, allocations: 107.9 kB / 481 MB, free: 2.012 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.1149, allocations: 255.1 kB / 481.2 MB, free: 1.762 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.1151, allocations: 230.6 kB / 481.4 MB, free: 1.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007195/0.1158, allocations: 0.7391 MB / 482.2 MB, free: 0.793 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1158, allocations: 4 kB / 482.2 MB, free: 0.7891 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1158, allocations: 0 / 482.2 MB, free: 0.7891 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1158, allocations: 0 / 482.2 MB, free: 0.7891 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.194/0.3098, allocations: 1.156 MB / 483.3 MB, free: 52.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.3099, allocations: 10.3 kB / 483.3 MB, free: 52.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.31, allocations: 81.36 kB / 483.4 MB, free: 52.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.3115, allocations: 0.6643 MB / 484.1 MB, free: 52.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.3115, allocations: 32.97 kB / 484.1 MB, free: 52.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.636e-05/0.3116, allocations: 48.02 kB / 484.2 MB, free: 52.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.3121, allocations: 452.8 kB / 484.6 MB, free: 52.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3122, allocations: 0 / 484.6 MB, free: 52.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.3122, allocations: 19.78 kB / 484.6 MB, free: 52.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.3122, allocations: 9.031 kB / 484.6 MB, free: 52.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005941/0.3128, allocations: 419.8 kB / 485 MB, free: 52.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.3145, allocations: 1.413 MB / 486.5 MB, free: 51.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005393/0.3151, allocations: 462.2 kB / 486.9 MB, free: 51.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.3153, allocations: 192.5 kB / 487.1 MB, free: 51.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.3154, allocations: 6.406 kB / 487.1 MB, free: 51.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.3154, allocations: 42.81 kB / 487.2 MB, free: 51.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 1.793e-06/0.3154, allocations: 0 / 487.2 MB, free: 51.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.0008649/0.3162, allocations: 0.6237 MB / 487.8 MB, free: 51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.3163, allocations: 57.44 kB / 487.8 MB, free: 50.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.3176, allocations: 0.8637 MB / 488.7 MB, free: 50.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.3177, allocations: 36.92 kB / 488.7 MB, free: 50.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.3178, allocations: 302.2 kB / 489 MB, free: 50.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/0.3179, allocations: 166.2 kB / 489.2 MB, free: 50.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.318, allocations: 145.9 kB / 489.3 MB, free: 50.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.3181, allocations: 380.8 kB / 489.7 MB, free: 49.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/0.3186, allocations: 293.2 kB / 490 MB, free: 49.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/0.3192, allocations: 410 kB / 490.4 MB, free: 49.53 MB / 446.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.003825/0.323, allocations: 1.541 MB / 491.9 MB, free: 49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.323, allocations: 0 / 491.9 MB, free: 49 MB / 446.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001369/0.3244, allocations: 0.8298 MB / 492.8 MB, free: 48.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3244, allocations: 8.594 kB / 492.8 MB, free: 48.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3244, allocations: 9.125 kB / 492.8 MB, free: 48.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3244, allocations: 6.188 kB / 492.8 MB, free: 48.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/0.3252, allocations: 199 kB / 493 MB, free: 48.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3252, allocations: 6.406 kB / 493 MB, free: 48.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008452/0.3261, allocations: 175.4 kB / 493.2 MB, free: 48.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.3261, allocations: 20.16 kB / 493.2 MB, free: 48.62 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.xfb:VARIABLE(fixed = true ) type: Real C1.xfb:VARIABLE(fixed = true ) type: Real Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: D.Fcs2.y = D.Fcs2.y_start D.Fcs1.y = D.Fcs1.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (C2.LOsat,C2.HIsat,C1.LOsat,C1.HIsat,C2.iNoDec,C2.iNoInc,C2.iTS,C1.iNoDec,C1.iNoInc,C1.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0002581/0.3264, allocations: 254.5 kB / 493.4 MB, free: 48.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.328e-05/0.3265, allocations: 64.92 kB / 493.5 MB, free: 48.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/0.3272, allocations: 0.519 MB / 494 MB, free: 48.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3272, allocations: 3.188 kB / 494 MB, free: 48.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3272, allocations: 4.125 kB / 494 MB, free: 48.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3272, allocations: 3.375 kB / 494 MB, free: 48.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.3276, allocations: 443.3 kB / 494.4 MB, free: 47.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3276, allocations: 0 / 494.4 MB, free: 47.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.3281, allocations: 98.41 kB / 494.5 MB, free: 47.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.3281, allocations: 3.375 kB / 494.5 MB, free: 47.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.3281, allocations: 16.81 kB / 494.6 MB, free: 47.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3281, allocations: 3.312 kB / 494.6 MB, free: 47.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3281, allocations: 0 / 494.6 MB, free: 47.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.3291, allocations: 0.8367 MB / 495.4 MB, free: 47.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.3292, allocations: 83.52 kB / 495.5 MB, free: 47.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.774e-05/0.3293, allocations: 16.75 kB / 495.5 MB, free: 47.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006144/0.3299, allocations: 89.44 kB / 495.6 MB, free: 47.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/0.33, allocations: 33.3 kB / 495.6 MB, free: 47.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.33, allocations: 13.34 kB / 495.6 MB, free: 47.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001209/0.3312, allocations: 0.6384 MB / 496.3 MB, free: 47.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3312, allocations: 0 / 496.3 MB, free: 47.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004361/0.3316, allocations: 124.5 kB / 496.4 MB, free: 47.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 14 (P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.P22.x_scaled[1],D.D12.x_scaled[1],D.D21.x_scaled[1],C1.xfb,C1.xBias,C1.u,C1.csfil,C2.xfb,C2.xBias,C2.u,C2.csfil) * Number of discrete variables: 4 (C1.HIsat,C1.LOsat,C2.HIsat,C2.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.0001431/0.3318, allocations: 124.2 kB / 496.5 MB, free: 47.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009869/0.3328, allocations: 0.5593 MB / 497.1 MB, free: 46.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3328, allocations: 2.625 kB / 497.1 MB, free: 46.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.333, allocations: 223.8 kB / 497.3 MB, free: 46.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.3335, allocations: 97.88 kB / 497.4 MB, free: 46.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.3349, allocations: 1.337 MB / 498.7 MB, free: 46.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.3352, allocations: 359 kB / 499.1 MB, free: 45.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002361/0.3354, allocations: 110.5 kB / 499.2 MB, free: 45.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.3355, allocations: 45.97 kB / 499.2 MB, free: 45.91 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3355, allocations: 0 / 499.2 MB, free: 45.91 MB / 446.1 MB Notification: Performance of Templates: time 0.009821/0.3454, allocations: 6.723 MB / 0.4941 GB, free: 45.29 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Decoupling.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Decoupling.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Decoupling.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Decoupling.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Decoupling.sim & ./AES_AES.Coursework.Typical_control_structures.Decoupling -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Decoupling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.301291270996444] Failed to read output from testmodel.py, exit status != 0: 0.381151897017844 0.36203758700000005 0.24394425400000003 Calling exit ...