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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,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=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09346/0.09346, allocations: 21.61 MB / 36.56 MB, free: 1.094 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009523/0.0009523, allocations: 191.3 kB / 42.83 MB, free: 3.785 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 223.2 MB / 272.1 MB, free: 1.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008667/0.0008666, allocations: 92.25 kB / 328.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003104, allocations: 8 kB / 397 MB, free: 46.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08173/0.08206, allocations: 55.82 MB / 452.9 MB, free: 6.605 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2562/0.3383, allocations: 79.71 MB / 0.5201 GB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.3386, allocations: 70.06 kB / 0.5202 GB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01709/0.3557, allocations: 6.142 MB / 0.5262 GB, free: 12.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3557, allocations: 0 / 0.5262 GB, free: 12.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.3557, allocations: 11.84 kB / 0.5262 GB, free: 12.16 MB / 362.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.001231/0.357, allocations: 0.6969 MB / 0.5268 GB, free: 11.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.357, allocations: 7.688 kB / 0.5269 GB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.3571, allocations: 40.12 kB / 0.5269 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008953/0.358, allocations: 450.4 kB / 0.5273 GB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.358, allocations: 8.656 kB / 0.5273 GB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.358, allocations: 18.25 kB / 0.5273 GB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.3583, allocations: 176.1 kB / 0.5275 GB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.3583, allocations: 0 / 0.5275 GB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.3583, allocations: 4.938 kB / 0.5275 GB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3584, allocations: 7.797 kB / 0.5275 GB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.3587, allocations: 192.6 kB / 0.5277 GB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008356/0.3595, allocations: 0.6466 MB / 0.5283 GB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.3602, allocations: 333.8 kB / 0.5287 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.3603, allocations: 8.031 kB / 0.5287 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.3603, allocations: 45.58 kB / 0.5287 GB, free: 10.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.313e-06/0.3603, allocations: 0 / 0.5287 GB, free: 10.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0009655/0.3613, allocations: 0.4963 MB / 0.5292 GB, free: 10.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.735e-05/0.3613, allocations: 58.97 kB / 0.5293 GB, free: 10.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008035/0.3621, allocations: 429.5 kB / 0.5297 GB, free: 10.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3621, allocations: 28.83 kB / 0.5297 GB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.3622, allocations: 165 kB / 0.5298 GB, free: 9.984 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.3622, allocations: 70.25 kB / 0.5299 GB, free: 9.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-06/0.3623, allocations: 3.625 kB / 0.5299 GB, free: 9.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.991e-05/0.3623, allocations: 349.9 kB / 0.5303 GB, free: 9.602 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.3624, allocations: 85.23 kB / 0.5303 GB, free: 9.582 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.3626, allocations: 106.5 kB / 0.5304 GB, free: 9.547 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.3627, allocations: 97.55 kB / 0.5305 GB, free: 9.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3627, allocations: 3.844 kB / 0.5305 GB, free: 9.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004478/0.3632, allocations: 347.6 kB / 0.5309 GB, free: 9.418 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3632, allocations: 3.844 kB / 0.5309 GB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3632, allocations: 0 / 0.5309 GB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/0.3634, allocations: 59.42 kB / 0.5309 GB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.3636, allocations: 34.86 kB / 0.531 GB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008671/0.3644, allocations: 1.516 MB / 0.5324 GB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.3649, allocations: 75.62 kB / 0.5325 GB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.3649, allocations: 5.375 kB / 0.5325 GB, free: 8.012 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.3651, allocations: 166.3 kB / 0.5327 GB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.3651, allocations: 32.38 kB / 0.5327 GB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.083e-05/0.3652, allocations: 44.05 kB / 0.5327 GB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3652, allocations: 2.469 kB / 0.5327 GB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3652, allocations: 0 / 0.5327 GB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3652, allocations: 5.234 kB / 0.5328 GB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.3655, allocations: 353.3 kB / 0.5331 GB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3655, allocations: 0 / 0.5331 GB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.3657, allocations: 30.98 kB / 0.5331 GB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/0.3658, allocations: 47.33 kB / 0.5332 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.3658, allocations: 15.64 kB / 0.5332 GB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007811/0.3666, allocations: 1.51 MB / 0.5347 GB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3666, allocations: 0 / 0.5347 GB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/0.3672, allocations: 0.5016 MB / 0.5351 GB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.3673, allocations: 115.8 kB / 0.5353 GB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.3673, allocations: 15.7 kB / 0.5353 GB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.3677, allocations: 61.7 kB / 0.5353 GB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.3678, allocations: 19.5 kB / 0.5353 GB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3678, allocations: 11.73 kB / 0.5354 GB, free: 5.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000686/0.3685, allocations: 365.1 kB / 0.5357 GB, free: 5.664 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3685, allocations: 0 / 0.5357 GB, free: 5.664 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.3688, allocations: 58.12 kB / 0.5358 GB, free: 5.66 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001174/0.3689, allocations: 106.6 kB / 0.5359 GB, free: 5.566 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004792/0.3694, allocations: 354.3 kB / 0.5362 GB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3694, allocations: 0 / 0.5362 GB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.3697, allocations: 236.9 kB / 0.5364 GB, free: 5.266 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.37, allocations: 49.45 kB / 0.5365 GB, free: 5.254 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00088/0.3709, allocations: 0.6948 MB / 0.5372 GB, free: 4.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.371, allocations: 0.7996 MB / 0.5379 GB, free: 4.078 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.3712, allocations: 55.94 kB / 0.538 GB, free: 4.062 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.3712, allocations: 26.12 kB / 0.538 GB, free: 4.051 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3712, allocations: 0 / 0.538 GB, free: 4.051 MB / 362.7 MB Notification: Performance of Templates: time 0.004586/0.3758, allocations: 2.785 MB / 0.5407 GB, free: 2.699 MB / 362.7 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.makefile (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)