Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/AES main/package.mo", uses=false) 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: "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007878/0.007879, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001961/0.001962, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2416/0.2416, allocations: 22.35 MB / 312.9 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59.47 kB / 434.4 MB, free: 35.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09977, allocations: 54.96 MB / 489.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001381/0.1012, allocations: 0.5226 MB / 489.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001291/0.1013, allocations: 15.97 kB / 489.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.1014, allocations: 4 kB / 489.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.1014, allocations: 3.938 kB / 489.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.847e-05/0.1015, allocations: 0 / 489.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.181e-05/0.1016, allocations: 3.984 kB / 489.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.782e-05/0.1016, allocations: 15.94 kB / 490 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.1017, allocations: 11.92 kB / 490 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.345e-05/0.1017, allocations: 0 / 490 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.857e-05/0.1017, allocations: 7.938 kB / 490 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1018, allocations: 0 / 490 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-06/0.1018, allocations: 0 / 490 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.1018, allocations: 0 / 490 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.1018, allocations: 4 kB / 490 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.961e-05/0.1019, allocations: 15.91 kB / 490 MB, free: 3.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1019, allocations: 0 / 490 MB, free: 3.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1019, allocations: 0 / 490 MB, free: 3.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1019, allocations: 4 kB / 490 MB, free: 3.238 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003175/0.1022, allocations: 326.4 kB / 490.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1023, allocations: 8.031 kB / 490.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.081e-05/0.1023, allocations: 34.75 kB / 490.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2e-05/0.1023, allocations: 4.844 kB / 490.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.397e-05/0.1024, allocations: 164.4 kB / 490.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1024, allocations: 384 / 490.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1025, allocations: 4.375 kB / 490.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1026, allocations: 38.2 kB / 490.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1026, allocations: 3.938 kB / 490.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-06/0.1026, allocations: 0 / 490.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1026, allocations: 0 / 490.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.116e-05/0.1027, allocations: 11.98 kB / 490.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.1028, allocations: 153.7 kB / 490.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.896e-05/0.1029, allocations: 18.61 kB / 490.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/0.1029, allocations: 12.92 kB / 490.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.1029, allocations: 0 / 490.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.1029, allocations: 38.56 kB / 490.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1029, allocations: 7.875 kB / 490.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001675/0.1031, allocations: 45.62 kB / 490.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.1032, allocations: 59.39 kB / 490.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.102e-05/0.1032, allocations: 93.86 kB / 491 MB, free: 2.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.1032, allocations: 29.83 kB / 491 MB, free: 2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.1032, allocations: 80.14 kB / 491.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.1033, allocations: 7.906 kB / 491.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.1033, allocations: 17.7 kB / 491.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.613e-05/0.1033, allocations: 311.2 kB / 491.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.864e-05/0.1034, allocations: 8 kB / 491.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.073e-05/0.1034, allocations: 4 kB / 491.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.1036, allocations: 41.03 kB / 491.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1036, allocations: 0 / 491.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.372e-05/0.1037, allocations: 49.67 kB / 491.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1037, allocations: 11.88 kB / 491.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1037, allocations: 0 / 491.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1037, allocations: 0 / 491.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.1038, allocations: 8 kB / 491.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1038, allocations: 3.984 kB / 491.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.1039, allocations: 12.45 kB / 491.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.1039, allocations: 4 kB / 491.6 MB, free: 1.426 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: x:VARIABLE(start = xstart fixed = true ) type: Real 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 (3): * Single equations (assignments): 3 * 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.0001409/0.104, allocations: 118.8 kB / 491.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.104, allocations: 7.938 kB / 491.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.717e-05/0.104, allocations: 3.125 kB / 491.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1041, allocations: 0 / 491.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1041, allocations: 0 / 491.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1041, allocations: 0 / 491.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.607e-05/0.1041, allocations: 157.6 kB / 491.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1041, allocations: 8 kB / 491.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.1042, allocations: 4 kB / 491.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1042, allocations: 3.938 kB / 491.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1042, allocations: 3.984 kB / 491.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1042, allocations: 0 / 491.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1042, allocations: 0 / 491.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.1044, allocations: 73.12 kB / 492 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.1044, allocations: 77.2 kB / 492 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.1044, allocations: 15.91 kB / 492 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/0.1044, allocations: 0 / 492 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.1045, allocations: 7.922 kB / 492.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.1045, allocations: 0 / 492.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.748e-05/0.1045, allocations: 79.28 kB / 492.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1045, allocations: 0 / 492.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001695/0.1047, allocations: 8 kB / 492.1 MB, free: 0.7734 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (2): * Single equations (assignments): 2 * 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.0002612/0.1049, allocations: 0.6163 MB / 492.8 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.1051, allocations: 11.94 kB / 492.8 MB, free: 116 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1051, allocations: 0 / 492.8 MB, free: 116 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.033e-05/0.1051, allocations: 12 kB / 492.8 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.1052, allocations: 7.922 kB / 492.8 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000967/0.1062, allocations: 1.105 MB / 493.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1065, allocations: 0.6729 MB / 494.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.171e-05/0.1065, allocations: 3.906 kB / 494.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.1065, allocations: 11.42 kB / 494.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1065, allocations: 0 / 494.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.1257, allocations: 1.106 MB / 495.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.432, allocations: 14.17 kB / 495.7 MB, free: 13.13 MB / 366.1 MB (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_OOM_Intro_HelloWorld_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_OOM_Intro_HelloWorld.fmu > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1)