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.00074/0.00074, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008632/0.0008632, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2298/0.2298, allocations: 22.35 MB / 313.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003474, allocations: 12 kB / 380 MB, free: 12.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3193, allocations: 55.97 MB / 436 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.0006523/0.32, allocations: 237.8 kB / 436.2 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001267/0.3201, allocations: 22.8 kB / 436.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.3202, allocations: 0 / 436.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.003e-05/0.3202, allocations: 2.844 kB / 436.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.164e-05/0.3203, allocations: 7.125 kB / 436.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.491e-05/0.3204, allocations: 0 / 436.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.386e-05/0.3204, allocations: 6.906 kB / 436.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.3205, allocations: 6.203 kB / 436.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.571e-05/0.3205, allocations: 4.859 kB / 436.3 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.191e-05/0.3206, allocations: 9.328 kB / 436.3 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.3206, allocations: 0 / 436.3 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-06/0.3206, allocations: 2.844 kB / 436.3 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.348e-06/0.3206, allocations: 0 / 436.3 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.3206, allocations: 29.7 kB / 436.3 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.833e-05/0.3207, allocations: 8.344 kB / 436.3 MB, free: 37.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3207, allocations: 0 / 436.3 MB, free: 37.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3207, allocations: 0 / 436.3 MB, free: 37.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.3207, allocations: 0 / 436.3 MB, free: 37.88 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.0003188/0.321, allocations: 318.6 kB / 436.6 MB, free: 37.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3211, allocations: 9 kB / 436.7 MB, free: 37.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.505e-05/0.3211, allocations: 33.59 kB / 436.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.3211, allocations: 3.906 kB / 436.7 MB, free: 37.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.672e-05/0.3212, allocations: 166.4 kB / 436.9 MB, free: 37.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3213, allocations: 3 kB / 436.9 MB, free: 37.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.3213, allocations: 0 / 436.9 MB, free: 37.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.97e-05/0.3214, allocations: 35.84 kB / 436.9 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3214, allocations: 7.953 kB / 436.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.3214, allocations: 2.469 kB / 436.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3214, allocations: 0 / 436.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.793e-05/0.3215, allocations: 2.75 kB / 436.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.3216, allocations: 155 kB / 437.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.214e-05/0.3217, allocations: 29.05 kB / 437.1 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.3217, allocations: 14.7 kB / 437.1 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.3217, allocations: 7.984 kB / 437.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.3217, allocations: 30.56 kB / 437.1 MB, free: 36.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3218, allocations: 3.938 kB / 437.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000163/0.3219, allocations: 48.77 kB / 437.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.322, allocations: 61.72 kB / 437.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.322, allocations: 96.64 kB / 437.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.322, allocations: 25.7 kB / 437.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.244e-05/0.3221, allocations: 84.27 kB / 437.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3221, allocations: 10.16 kB / 437.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/0.3221, allocations: 0 / 437.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.298e-05/0.3222, allocations: 314.8 kB / 437.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.3222, allocations: 2.75 kB / 437.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.3222, allocations: 6.188 kB / 437.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.494e-05/0.3223, allocations: 6.938 kB / 437.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3223, allocations: 0 / 437.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.852e-05/0.3224, allocations: 47.42 kB / 437.8 MB, free: 36.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3224, allocations: 7.969 kB / 437.8 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3224, allocations: 4 kB / 437.8 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.3224, allocations: 0 / 437.8 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.838e-05/0.3225, allocations: 14.91 kB / 437.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3225, allocations: 3.938 kB / 437.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.3225, allocations: 3.906 kB / 437.9 MB, free: 36.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.3225, allocations: 0 / 437.9 MB, free: 36.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.3227, allocations: 117.6 kB / 438 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-06/0.3227, allocations: 0 / 438 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.3227, allocations: 3.125 kB / 438 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3227, allocations: 2.781 kB / 438 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3227, allocations: 7.75 kB / 438 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3227, allocations: 0 / 438 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.695e-05/0.3228, allocations: 148.5 kB / 438.1 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3228, allocations: 0 / 438.1 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.3229, allocations: 10 kB / 438.1 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3229, allocations: 0 / 438.1 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.3229, allocations: 0 / 438.1 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3229, allocations: 6.875 kB / 438.2 MB, free: 35.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3229, allocations: 0 / 438.2 MB, free: 35.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.323, allocations: 78.95 kB / 438.2 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.3231, allocations: 80.44 kB / 438.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.3231, allocations: 6.938 kB / 438.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.089e-05/0.3231, allocations: 0 / 438.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.3232, allocations: 0 / 438.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.3232, allocations: 10.75 kB / 438.3 MB, free: 35.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.881e-05/0.3232, allocations: 78.56 kB / 438.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3232, allocations: 2.906 kB / 438.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001732/0.3234, allocations: 3.953 kB / 438.4 MB, free: 35.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002864/0.3237, allocations: 0.6088 MB / 439 MB, free: 35.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.573e-05/0.3238, allocations: 18.14 kB / 439 MB, free: 35.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3238, allocations: 0 / 439 MB, free: 35.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.849e-05/0.3238, allocations: 9.328 kB / 439 MB, free: 35.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.324, allocations: 5.266 kB / 439 MB, free: 35.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.3245, allocations: 355.6 kB / 439.4 MB, free: 34.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.3247, allocations: 0.6791 MB / 440.1 MB, free: 34.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.436e-05/0.3247, allocations: 0 / 440.1 MB, free: 34.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.3247, allocations: 14.06 kB / 440.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3247, allocations: 0 / 440.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.3363, allocations: 0.8948 MB / 441 MB, free: 33.88 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/0.3365, allocations: 163.5 kB / 441.1 MB, free: 33.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.974, allocations: 0 / 441.1 MB, free: 33.64 MB / 350.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/linux/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) Environment - environmentSimulation: