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.004992/0.004992, allocations: 97.69 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.001209/0.001209, allocations: 198.7 kB / 16.68 MB, free: 5.961 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09679/0.09679, allocations: 22.33 MB / 312.9 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 59.91 kB / 434.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.117, allocations: 54.96 MB / 489.4 MB, free: 7.387 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001693/0.1187, allocations: 0.51 MB / 489.9 MB, free: 6.879 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001477/0.1189, allocations: 15.92 kB / 489.9 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.1189, allocations: 0 / 489.9 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.119, allocations: 0 / 489.9 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.119, allocations: 11.92 kB / 489.9 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.1191, allocations: 3.984 kB / 489.9 MB, free: 6.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.981e-05/0.1192, allocations: 8 kB / 489.9 MB, free: 6.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.1193, allocations: 4 kB / 489.9 MB, free: 6.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.1193, allocations: 11.92 kB / 489.9 MB, free: 6.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.551e-05/0.1194, allocations: 4 kB / 489.9 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1194, allocations: 4 kB / 489.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-06/0.1194, allocations: 0 / 489.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.1194, allocations: 0 / 489.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.1195, allocations: 7.938 kB / 490 MB, free: 6.809 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.354e-05/0.1195, allocations: 15.91 kB / 490 MB, free: 6.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1195, allocations: 0 / 490 MB, free: 6.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.1195, allocations: 0 / 490 MB, free: 6.793 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1196, allocations: 3.938 kB / 490 MB, free: 6.789 MB / 366.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.0004777/0.12, allocations: 319.8 kB / 490.3 MB, free: 6.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1201, allocations: 12.03 kB / 490.3 MB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.1201, allocations: 34.75 kB / 490.3 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.1202, allocations: 8.891 kB / 490.3 MB, free: 6.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.1203, allocations: 164.4 kB / 490.5 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.1204, allocations: 384 / 490.5 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.1204, allocations: 4.375 kB / 490.5 MB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.1205, allocations: 34.25 kB / 490.5 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1205, allocations: 3.938 kB / 490.5 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.1205, allocations: 3.938 kB / 490.5 MB, free: 6.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1205, allocations: 4 kB / 490.6 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.893e-05/0.1206, allocations: 15.92 kB / 490.6 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.1208, allocations: 145.7 kB / 490.7 MB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.187e-05/0.1209, allocations: 26.56 kB / 490.7 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.1209, allocations: 12.92 kB / 490.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.121, allocations: 0 / 490.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.121, allocations: 42.56 kB / 490.8 MB, free: 5.801 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.121, allocations: 0 / 490.8 MB, free: 5.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002099/0.1212, allocations: 49.56 kB / 490.8 MB, free: 5.746 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.1213, allocations: 51.41 kB / 490.9 MB, free: 5.684 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/0.1214, allocations: 101.8 kB / 491 MB, free: 5.574 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1214, allocations: 25.7 kB / 491 MB, free: 5.543 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.1214, allocations: 80.14 kB / 491.1 MB, free: 5.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.1215, allocations: 12.02 kB / 491.1 MB, free: 5.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.1215, allocations: 17.72 kB / 491.1 MB, free: 5.426 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1217, allocations: 314.8 kB / 491.4 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.047e-05/0.1217, allocations: 4 kB / 491.4 MB, free: 5.105 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.1217, allocations: 8 kB / 491.4 MB, free: 5.098 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.122, allocations: 28.83 kB / 491.5 MB, free: 5.066 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.122, allocations: 4 kB / 491.5 MB, free: 5.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001016/0.1221, allocations: 57.61 kB / 491.5 MB, free: 5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1221, allocations: 7.938 kB / 491.5 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1221, allocations: 0 / 491.5 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1221, allocations: 0 / 491.5 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.314e-05/0.1222, allocations: 4 kB / 491.5 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1222, allocations: 11.92 kB / 491.6 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.1222, allocations: 0 / 491.6 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.1223, allocations: 0 / 491.6 MB, free: 4.977 MB / 366.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.000163/0.1224, allocations: 126.6 kB / 491.7 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-06/0.1224, allocations: 3.938 kB / 491.7 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.1225, allocations: 3.125 kB / 491.7 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1225, allocations: 0 / 491.7 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1225, allocations: 0 / 491.7 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1225, allocations: 0 / 491.7 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.1226, allocations: 153.7 kB / 491.8 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1226, allocations: 0 / 491.8 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.416e-05/0.1227, allocations: 11.94 kB / 491.8 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1227, allocations: 4.219 kB / 491.8 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.1227, allocations: 4 kB / 491.9 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1227, allocations: 0 / 491.9 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1227, allocations: 3.984 kB / 491.9 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.1229, allocations: 81.05 kB / 491.9 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.123, allocations: 81.06 kB / 492 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.123, allocations: 7.969 kB / 492 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.123, allocations: 0 / 492 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.123, allocations: 4.094 kB / 492 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1231, allocations: 4 kB / 492 MB, free: 4.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.597e-05/0.1231, allocations: 83.27 kB / 492.1 MB, free: 4.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1231, allocations: 0 / 492.1 MB, free: 4.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001691/0.1233, allocations: 8 kB / 492.1 MB, free: 4.312 MB / 366.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.0004869/0.1238, allocations: 0.6046 MB / 492.7 MB, free: 3.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.1239, allocations: 19.98 kB / 492.7 MB, free: 3.656 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1239, allocations: 0 / 492.7 MB, free: 3.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.276e-05/0.1239, allocations: 7.938 kB / 492.8 MB, free: 3.648 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.1241, allocations: 10.53 kB / 492.8 MB, free: 3.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.1252, allocations: 1.094 MB / 493.9 MB, free: 2.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.1256, allocations: 0.6768 MB / 494.5 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.348e-05/0.1256, allocations: 0 / 494.5 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.1257, allocations: 11.44 kB / 494.5 MB, free: 1.75 MB / 366.1 MB Notification: Performance of SimCode: time 2.425e-06/0.1257, allocations: 0 / 494.5 MB, free: 1.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.149, allocations: 1.096 MB / 495.6 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/7.705, allocations: 3.75 kB / 495.6 MB, free: 0.6992 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)