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.001032/0.001032, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001021/0.001021, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.189/1.189, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1687/0.1687, allocations: 22.36 MB / 312.3 MB, free: 12.75 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.89 kB / 378.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2097, allocations: 54.94 MB / 433.1 MB, free: 38.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001366/0.2111, allocations: 0.5787 MB / 433.7 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 9.682e-05/0.2112, allocations: 17.89 kB / 433.7 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.638e-05/0.2112, allocations: 0 / 433.7 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.2113, allocations: 0 / 433.7 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.2113, allocations: 0 / 433.7 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.25e-05/0.2114, allocations: 10.03 kB / 433.7 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.625e-05/0.2114, allocations: 14.94 kB / 433.7 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.2115, allocations: 3.031 kB / 433.7 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.957e-05/0.2115, allocations: 7.312 kB / 433.7 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.282e-05/0.2115, allocations: 2.812 kB / 433.7 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.2116, allocations: 0 / 433.7 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-06/0.2116, allocations: 2.906 kB / 433.7 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.2116, allocations: 4 kB / 433.7 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.2116, allocations: 7.312 kB / 433.7 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.686e-05/0.2117, allocations: 6.188 kB / 433.7 MB, free: 38.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2117, allocations: 3.938 kB / 433.7 MB, free: 38.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.92e-07/0.2117, allocations: 0 / 433.7 MB, free: 38.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.2117, allocations: 4 kB / 433.8 MB, free: 38.12 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.0002646/0.2119, allocations: 325.9 kB / 434.1 MB, free: 37.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.212, allocations: 12.91 kB / 434.1 MB, free: 37.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.851e-05/0.212, allocations: 30.75 kB / 434.1 MB, free: 37.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.824e-05/0.212, allocations: 3.969 kB / 434.1 MB, free: 37.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.426e-05/0.2121, allocations: 168.3 kB / 434.3 MB, free: 37.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.2121, allocations: 384 / 434.3 MB, free: 37.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.2121, allocations: 3.188 kB / 434.3 MB, free: 37.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.813e-05/0.2122, allocations: 45.67 kB / 434.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.2122, allocations: 7.922 kB / 434.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.2122, allocations: 0 / 434.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.2123, allocations: 0 / 434.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.369e-05/0.2123, allocations: 6.469 kB / 434.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.467e-05/0.2124, allocations: 151.9 kB / 434.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.336e-05/0.2125, allocations: 20.36 kB / 434.5 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.2125, allocations: 19.27 kB / 434.5 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.2125, allocations: 0 / 434.5 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.03e-05/0.2125, allocations: 37.5 kB / 434.6 MB, free: 37.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.2125, allocations: 3.938 kB / 434.6 MB, free: 37.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000141/0.2127, allocations: 48.44 kB / 434.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.581e-05/0.2127, allocations: 51.41 kB / 434.7 MB, free: 37.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.134e-05/0.2127, allocations: 98.58 kB / 434.8 MB, free: 37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-06/0.2128, allocations: 29.7 kB / 434.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.663e-05/0.2128, allocations: 84.14 kB / 434.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.2128, allocations: 6.719 kB / 434.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.2128, allocations: 12.38 kB / 434.9 MB, free: 36.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.322e-05/0.2129, allocations: 318.2 kB / 435.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.2129, allocations: 2.625 kB / 435.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.049e-05/0.2129, allocations: 2.969 kB / 435.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.2131, allocations: 47.58 kB / 435.3 MB, free: 36.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2131, allocations: 0 / 435.3 MB, free: 36.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.991e-05/0.2132, allocations: 48.62 kB / 435.3 MB, free: 36.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2132, allocations: 10.72 kB / 435.3 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2132, allocations: 0 / 435.3 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.2132, allocations: 3.938 kB / 435.3 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.003e-05/0.2133, allocations: 8.953 kB / 435.3 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2133, allocations: 0 / 435.3 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.2133, allocations: 0 / 435.3 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.2133, allocations: 7.031 kB / 435.3 MB, free: 36.46 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 9.507e-05/0.2134, allocations: 119.3 kB / 435.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.2135, allocations: 6.938 kB / 435.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.2135, allocations: 10.22 kB / 435.5 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2135, allocations: 0 / 435.5 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.2135, allocations: 0 / 435.5 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2135, allocations: 2.75 kB / 435.5 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.276e-05/0.2136, allocations: 148.1 kB / 435.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2136, allocations: 4 kB / 435.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/0.2136, allocations: 5.688 kB / 435.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2136, allocations: 3.938 kB / 435.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.2136, allocations: 0 / 435.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2136, allocations: 3.281 kB / 435.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2137, allocations: 0 / 435.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.2138, allocations: 73.33 kB / 435.7 MB, free: 36.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.2138, allocations: 89.09 kB / 435.8 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.2138, allocations: 11.81 kB / 435.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.2138, allocations: 3.328 kB / 435.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.2139, allocations: 0 / 435.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.2139, allocations: 0 / 435.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.585e-05/0.2139, allocations: 82.16 kB / 435.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.2139, allocations: 0 / 435.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001613/0.2141, allocations: 6.812 kB / 435.9 MB, free: 35.87 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.0002247/0.2143, allocations: 0.6071 MB / 436.5 MB, free: 35.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.988e-05/0.2144, allocations: 19.08 kB / 436.5 MB, free: 35.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2144, allocations: 0 / 436.5 MB, free: 35.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.2144, allocations: 7.438 kB / 436.5 MB, free: 35.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.2146, allocations: 5.984 kB / 436.5 MB, free: 35.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/0.2152, allocations: 1.11 MB / 437.6 MB, free: 34.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.995e-05/0.2152, allocations: 0.6756 MB / 438.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.816e-05/0.2153, allocations: 0 / 438.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.2153, allocations: 10.38 kB / 438.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.2153, allocations: 0 / 438.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008662/0.224, allocations: 0.9461 MB / 439.3 MB, free: 33.22 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001145/0.2241, allocations: 174.9 kB / 439.4 MB, free: 32.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/1.741, allocations: 3.938 kB / 439.4 MB, free: 32.96 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)