Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.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_inverse,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld_inverse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld_inverse,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld_inverse",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.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00114/0.00114, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.199/1.199, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1727/0.1727, allocations: 22.35 MB / 312.3 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.91 kB / 380.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2168, allocations: 54.93 MB / 435.1 MB, free: 39.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.00128/0.2181, allocations: 0.569 MB / 435.7 MB, free: 39.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001179/0.2183, allocations: 30.67 kB / 435.7 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.613e-05/0.2183, allocations: 0 / 435.7 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.2183, allocations: 0 / 435.7 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.153e-05/0.2183, allocations: 0 / 435.7 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.2185, allocations: 11.28 kB / 435.8 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.261e-05/0.2185, allocations: 4.719 kB / 435.8 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.2186, allocations: 11.45 kB / 435.8 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.518e-05/0.2186, allocations: 6.719 kB / 435.8 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/0.2186, allocations: 2.688 kB / 435.8 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.2186, allocations: 0 / 435.8 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.101e-06/0.2187, allocations: 0 / 435.8 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.2187, allocations: 6.688 kB / 435.8 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.2187, allocations: 7.359 kB / 435.8 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.735e-05/0.2187, allocations: 0 / 435.8 MB, free: 39.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2187, allocations: 2.781 kB / 435.8 MB, free: 39.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.2188, allocations: 0 / 435.8 MB, free: 39.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.2188, allocations: 0 / 435.8 MB, free: 39.18 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.0002799/0.219, allocations: 334.1 kB / 436.1 MB, free: 38.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2191, allocations: 14.38 kB / 436.1 MB, free: 38.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.847e-05/0.2191, allocations: 30.75 kB / 436.2 MB, free: 38.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.779e-05/0.2191, allocations: 4.844 kB / 436.2 MB, free: 38.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.18e-05/0.2192, allocations: 162.8 kB / 436.3 MB, free: 38.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.2192, allocations: 384 / 436.3 MB, free: 38.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.2192, allocations: 8.312 kB / 436.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.029e-05/0.2193, allocations: 36.62 kB / 436.4 MB, free: 38.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.902e-06/0.2193, allocations: 3.938 kB / 436.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.2193, allocations: 2.844 kB / 436.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2193, allocations: 0 / 436.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.2193, allocations: 11 kB / 436.4 MB, free: 38.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.425e-05/0.2194, allocations: 148.2 kB / 436.5 MB, free: 38.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.715e-05/0.2195, allocations: 23.77 kB / 436.6 MB, free: 38.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.2195, allocations: 15.16 kB / 436.6 MB, free: 38.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.2195, allocations: 11.97 kB / 436.6 MB, free: 38.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.2195, allocations: 38.41 kB / 436.6 MB, free: 38.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.2196, allocations: 0 / 436.6 MB, free: 38.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002643/0.2198, allocations: 69.25 kB / 436.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.2199, allocations: 55.41 kB / 436.7 MB, free: 38.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.406e-05/0.2199, allocations: 92.7 kB / 436.8 MB, free: 38.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.102e-06/0.2199, allocations: 26.02 kB / 436.9 MB, free: 38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.26e-05/0.2199, allocations: 84.14 kB / 436.9 MB, free: 37.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.22, allocations: 22 kB / 437 MB, free: 37.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.22, allocations: 12.09 kB / 437 MB, free: 37.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.076e-05/0.22, allocations: 310.8 kB / 437.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.2201, allocations: 6.594 kB / 437.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.047e-05/0.2201, allocations: 6.812 kB / 437.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.151e-05/0.2201, allocations: 17.73 kB / 437.3 MB, free: 37.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.2201, allocations: 0 / 437.3 MB, free: 37.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.495e-05/0.2202, allocations: 50.81 kB / 437.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.2202, allocations: 10.41 kB / 437.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2202, allocations: 0 / 437.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.2202, allocations: 0 / 437.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.462e-05/0.2203, allocations: 10.81 kB / 437.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.2203, allocations: 0 / 437.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.2203, allocations: 2.375 kB / 437.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.2203, allocations: 0 / 437.4 MB, free: 37.51 MB / 350.1 MB 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 3.887e-05/0.2204, allocations: 112.2 kB / 437.5 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-06/0.2204, allocations: 7.938 kB / 437.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.363e-05/0.2205, allocations: 59.52 kB / 437.6 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2205, allocations: 0 / 437.6 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2205, allocations: 0 / 437.6 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2205, allocations: 0 / 437.6 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.306e-05/0.2206, allocations: 152.2 kB / 437.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.2206, allocations: 0 / 437.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.2206, allocations: 7.094 kB / 437.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2206, allocations: 3.938 kB / 437.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.2206, allocations: 2.656 kB / 437.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.2206, allocations: 4 kB / 437.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2206, allocations: 3.234 kB / 437.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.927e-05/0.2207, allocations: 72.34 kB / 437.8 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.2207, allocations: 84.95 kB / 437.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.2207, allocations: 7.938 kB / 437.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.906e-05/0.2208, allocations: 6.625 kB / 437.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.2208, allocations: 0 / 437.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.2208, allocations: 288 / 437.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.801e-05/0.2208, allocations: 93.41 kB / 438 MB, free: 36.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2208, allocations: 0 / 438 MB, free: 36.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001726/0.221, allocations: 2.438 kB / 438 MB, free: 36.87 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000195/0.2212, allocations: 0.6026 MB / 438.6 MB, free: 36.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.973e-05/0.2213, allocations: 19.52 kB / 438.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2213, allocations: 0 / 438.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.2213, allocations: 11.69 kB / 438.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.2214, allocations: 2.391 kB / 438.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.2217, allocations: 131.9 kB / 438.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.747e-05/0.2218, allocations: 0.6717 MB / 439.4 MB, free: 35.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.134e-05/0.2218, allocations: 6.531 kB / 439.4 MB, free: 35.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.2218, allocations: 10.81 kB / 439.4 MB, free: 35.4 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2218, allocations: 0 / 439.4 MB, free: 35.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009064/0.2309, allocations: 0.8849 MB / 440.3 MB, free: 35.18 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/0.231, allocations: 178.5 kB / 440.5 MB, free: 34.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/1.764, allocations: 0 / 440.5 MB, free: 34.93 MB / 350.1 MB (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_OOM_Intro_HelloWorld_inverse_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_OOM_Intro_HelloWorld_inverse.fmu > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1)