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.004974/0.004975, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001207/0.001208, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1966/0.1966, allocations: 22.37 MB / 312.9 MB, free: 12.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.73 kB / 434.5 MB, free: 35.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08883/0.09002, allocations: 54.96 MB / 489.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.00142/0.09148, allocations: 0.5148 MB / 489.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000133/0.09163, allocations: 27.89 kB / 490 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.09167, allocations: 0 / 490 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.347e-05/0.09169, allocations: 3.938 kB / 490 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.09178, allocations: 0 / 490 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.081e-05/0.09188, allocations: 0 / 490 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.757e-05/0.09193, allocations: 11.98 kB / 490 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.09199, allocations: 4 kB / 490 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.37e-05/0.09201, allocations: 0 / 490 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.09208, allocations: 19.86 kB / 490 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.09209, allocations: 0 / 490 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.224e-06/0.09211, allocations: 0 / 490 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.09212, allocations: 3.984 kB / 490 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.09215, allocations: 3.938 kB / 490 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.504e-05/0.09221, allocations: 4.281 kB / 490 MB, free: 3.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.09222, allocations: 0 / 490 MB, free: 3.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.09223, allocations: 3.938 kB / 490 MB, free: 3.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.09224, allocations: 4 kB / 490 MB, free: 3.254 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.0003435/0.09259, allocations: 323.5 kB / 490.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.09263, allocations: 12.03 kB / 490.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.469e-05/0.09266, allocations: 34.73 kB / 490.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.09269, allocations: 0.9375 kB / 490.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.604e-05/0.09278, allocations: 172.3 kB / 490.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.0928, allocations: 384 / 490.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.09282, allocations: 4.375 kB / 490.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.702e-05/0.09292, allocations: 42.25 kB / 490.6 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.09294, allocations: 3.938 kB / 490.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.09295, allocations: 0 / 490.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.09296, allocations: 0 / 490.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.865e-05/0.09301, allocations: 7.938 kB / 490.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.09315, allocations: 153.7 kB / 490.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.458e-05/0.09322, allocations: 22.67 kB / 490.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/0.09326, allocations: 16.84 kB / 490.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.09328, allocations: 3.938 kB / 490.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.09329, allocations: 34.56 kB / 490.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.0933, allocations: 0 / 490.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001725/0.09348, allocations: 53.56 kB / 490.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.09351, allocations: 51.41 kB / 490.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.723e-05/0.09356, allocations: 97.98 kB / 491 MB, free: 2.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.09358, allocations: 29.7 kB / 491.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.839e-05/0.0936, allocations: 80.14 kB / 491.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.09363, allocations: 11.94 kB / 491.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.09366, allocations: 13.72 kB / 491.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.54e-05/0.09372, allocations: 311.2 kB / 491.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/0.09376, allocations: 4 kB / 491.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.09381, allocations: 7.984 kB / 491.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.09407, allocations: 40.81 kB / 491.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.09409, allocations: 0 / 491.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.392e-05/0.09418, allocations: 45.69 kB / 491.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.0942, allocations: 7.938 kB / 491.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.09421, allocations: 0 / 491.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.09422, allocations: 0 / 491.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.0943, allocations: 11.98 kB / 491.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.09431, allocations: 0 / 491.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.09433, allocations: 3.953 kB / 491.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.09434, allocations: 4 kB / 491.6 MB, free: 1.445 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.000117/0.09446, allocations: 114.6 kB / 491.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.09448, allocations: 3.938 kB / 491.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.701e-05/0.0945, allocations: 11.06 kB / 491.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.09451, allocations: 288 / 491.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.09451, allocations: 0 / 491.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.09452, allocations: 11.92 kB / 491.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.726e-05/0.09458, allocations: 153.7 kB / 491.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.09459, allocations: 12 kB / 491.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.09465, allocations: 7.984 kB / 491.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.09466, allocations: 3.938 kB / 491.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.09468, allocations: 0 / 491.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.09468, allocations: 0 / 491.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.09469, allocations: 0 / 491.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.09481, allocations: 73.06 kB / 492 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.09484, allocations: 81.2 kB / 492.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.09486, allocations: 11.95 kB / 492.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/0.09488, allocations: 4 kB / 492.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.09492, allocations: 0 / 492.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.09492, allocations: 0 / 492.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.686e-05/0.09494, allocations: 79.28 kB / 492.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.09495, allocations: 0 / 492.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001704/0.09512, allocations: 7.938 kB / 492.2 MB, free: 0.7852 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.0002483/0.09538, allocations: 0.6163 MB / 492.8 MB, free: 140 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.628e-05/0.09548, allocations: 12 kB / 492.8 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.09549, allocations: 0 / 492.8 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.06e-05/0.09553, allocations: 15.92 kB / 492.8 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.09567, allocations: 4.156 kB / 492.8 MB, free: 108 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.09669, allocations: 1.104 MB / 493.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.09695, allocations: 0.6768 MB / 494.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.627e-05/0.09699, allocations: 4 kB / 494.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.09702, allocations: 7.438 kB / 494.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.09703, allocations: 0 / 494.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.1131, allocations: 1.101 MB / 495.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.343/7.456, allocations: 13.88 kB / 495.7 MB, free: 13.15 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 & python3 -m fmpy simulate --output-file AES_AES.Coursework.OOM_Intro.HelloWorld_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0333333 AES_AES_Coursework_OOM_Intro_HelloWorld.fmu > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1)