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.001182/0.001182, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00118/0.00118, allocations: 192.3 kB / 16.25 MB, free: 6.621 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.2/1.2, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.175/0.175, allocations: 22.35 MB / 312.4 MB, free: 12.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 59.91 kB / 378.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2276, allocations: 54.94 MB / 433.3 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001428/0.2291, allocations: 0.5751 MB / 433.9 MB, free: 38.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001079/0.2292, allocations: 13.91 kB / 433.9 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.2292, allocations: 0 / 433.9 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.2292, allocations: 0 / 433.9 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.904e-05/0.2293, allocations: 4 kB / 433.9 MB, free: 38.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.018e-05/0.2294, allocations: 10.92 kB / 433.9 MB, free: 38.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.822e-05/0.2294, allocations: 8.453 kB / 433.9 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.2295, allocations: 6.172 kB / 433.9 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.223e-05/0.2295, allocations: 6.75 kB / 433.9 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.212e-05/0.2296, allocations: 4 kB / 433.9 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.2296, allocations: 2.906 kB / 433.9 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-06/0.2296, allocations: 0 / 433.9 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.2296, allocations: 3.234 kB / 433.9 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.2296, allocations: 10.03 kB / 433.9 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.177e-05/0.2297, allocations: 7.984 kB / 433.9 MB, free: 38.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2297, allocations: 0 / 433.9 MB, free: 38.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2297, allocations: 2.875 kB / 433.9 MB, free: 38.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.2297, allocations: 0 / 433.9 MB, free: 38.4 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.0002762/0.23, allocations: 327 kB / 434.2 MB, free: 38.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.23, allocations: 8.812 kB / 434.3 MB, free: 38.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.348e-05/0.23, allocations: 33.59 kB / 434.3 MB, free: 38.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.2301, allocations: 0.9375 kB / 434.3 MB, free: 38.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.276e-05/0.2301, allocations: 160.4 kB / 434.4 MB, free: 37.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.2302, allocations: 11.19 kB / 434.5 MB, free: 37.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.2302, allocations: 7.641 kB / 434.5 MB, free: 37.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.368e-05/0.2303, allocations: 33.14 kB / 434.5 MB, free: 37.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.2303, allocations: 3.938 kB / 434.5 MB, free: 37.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-06/0.2303, allocations: 2.781 kB / 434.5 MB, free: 37.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2303, allocations: 0 / 434.5 MB, free: 37.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.809e-05/0.2304, allocations: 6.109 kB / 434.5 MB, free: 37.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.2305, allocations: 154.7 kB / 434.7 MB, free: 37.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.334e-05/0.2305, allocations: 32.14 kB / 434.7 MB, free: 37.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.2306, allocations: 15.11 kB / 434.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.2306, allocations: 0 / 434.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.2306, allocations: 30.56 kB / 434.7 MB, free: 37.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.2306, allocations: 2.938 kB / 434.7 MB, free: 37.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001473/0.2307, allocations: 49.5 kB / 434.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.2308, allocations: 55.53 kB / 434.8 MB, free: 37.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.406e-05/0.2308, allocations: 96.84 kB / 434.9 MB, free: 37.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.2308, allocations: 25.7 kB / 435 MB, free: 37.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.886e-05/0.2309, allocations: 84.14 kB / 435 MB, free: 37.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.2309, allocations: 7.781 kB / 435.1 MB, free: 37.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.2309, allocations: 9.719 kB / 435.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.216e-05/0.231, allocations: 322.2 kB / 435.4 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.231, allocations: 2.875 kB / 435.4 MB, free: 36.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.231, allocations: 6.938 kB / 435.4 MB, free: 36.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.2312, allocations: 44.78 kB / 435.4 MB, free: 36.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2312, allocations: 0 / 435.4 MB, free: 36.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.908e-05/0.2313, allocations: 48.02 kB / 435.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.2313, allocations: 9.719 kB / 435.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2313, allocations: 0 / 435.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2313, allocations: 3.281 kB / 435.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.2314, allocations: 13.75 kB / 435.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.2314, allocations: 0 / 435.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.2314, allocations: 2.812 kB / 435.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.2315, allocations: 4 kB / 435.5 MB, free: 36.74 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.0001029/0.2316, allocations: 112.7 kB / 435.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.2316, allocations: 7.266 kB / 435.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.2316, allocations: 7.125 kB / 435.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2316, allocations: 0 / 435.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2316, allocations: 10.72 kB / 435.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.2316, allocations: 0 / 435.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.252e-05/0.2317, allocations: 151.7 kB / 435.8 MB, free: 36.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2317, allocations: 0 / 435.8 MB, free: 36.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/0.2317, allocations: 5.625 kB / 435.8 MB, free: 36.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.2318, allocations: 3.938 kB / 435.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2318, allocations: 3.328 kB / 435.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2318, allocations: 2.781 kB / 435.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2318, allocations: 0 / 435.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.2319, allocations: 76.2 kB / 435.9 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.2319, allocations: 81.02 kB / 436 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.2319, allocations: 7.406 kB / 436 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.155e-05/0.232, allocations: 2.844 kB / 436 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.232, allocations: 3.938 kB / 436 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.232, allocations: 4 kB / 436 MB, free: 36.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.58e-05/0.232, allocations: 78.16 kB / 436.1 MB, free: 36.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.232, allocations: 0 / 436.1 MB, free: 36.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001638/0.2322, allocations: 6.969 kB / 436.1 MB, free: 36.15 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.0002305/0.2324, allocations: 0.605 MB / 436.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.946e-05/0.2325, allocations: 23.05 kB / 436.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2325, allocations: 4.094 kB / 436.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.695e-05/0.2326, allocations: 2.969 kB / 436.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.2327, allocations: 6.547 kB / 436.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.2333, allocations: 1.105 MB / 437.8 MB, free: 34.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.89e-05/0.2334, allocations: 0.6752 MB / 438.5 MB, free: 33.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.697e-05/0.2335, allocations: 2.656 kB / 438.5 MB, free: 33.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.2335, allocations: 15.44 kB / 438.5 MB, free: 33.73 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2335, allocations: 0 / 438.5 MB, free: 33.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01064/0.2442, allocations: 0.9826 MB / 439.5 MB, free: 33.5 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001321/0.2443, allocations: 177.9 kB / 439.7 MB, free: 33.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.865, allocations: 3.984 kB / 439.7 MB, free: 33.25 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/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)