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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 211.4 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1153/0.1153, allocations: 24.12 MB / 336.6 MB, free: 11.43 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003116/0.003116, allocations: 63.89 kB / 473.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4353, allocations: 59.59 MB / 0.5204 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.00168/0.437, allocations: 0.5195 MB / 0.5209 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001655/0.4371, allocations: 36.64 kB / 0.5209 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.4372, allocations: 0 / 0.5209 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.4372, allocations: 4 kB / 0.5209 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.888e-05/0.4372, allocations: 0 / 0.5209 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.4374, allocations: 7.859 kB / 0.521 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.847e-05/0.4374, allocations: 9.688 kB / 0.521 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.4375, allocations: 1.703 kB / 0.521 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.929e-05/0.4375, allocations: 7.203 kB / 0.521 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.699e-05/0.4376, allocations: 7.031 kB / 0.521 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.4376, allocations: 1.125 kB / 0.521 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-06/0.4376, allocations: 1.312 kB / 0.521 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.4376, allocations: 0.8438 kB / 0.521 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.4376, allocations: 10.08 kB / 0.521 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.853e-05/0.4377, allocations: 7.391 kB / 0.521 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4377, allocations: 0 / 0.521 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4377, allocations: 1.375 kB / 0.521 GB, free: 9.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.4377, allocations: 0 / 0.521 GB, free: 9.723 MB / 382.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.0003756/0.4381, allocations: 242.8 kB / 0.5212 GB, free: 9.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4381, allocations: 10.36 kB / 0.5212 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.256e-05/0.4381, allocations: 31.81 kB / 0.5213 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.4382, allocations: 6.969 kB / 0.5213 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.93e-05/0.4382, allocations: 116.5 kB / 0.5214 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4382, allocations: 1.75 kB / 0.5214 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.4383, allocations: 384 / 0.5214 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/0.4383, allocations: 33.09 kB / 0.5214 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4383, allocations: 3.938 kB / 0.5214 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.4384, allocations: 1.344 kB / 0.5214 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.4384, allocations: 0 / 0.5214 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.855e-05/0.4384, allocations: 3.406 kB / 0.5214 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.4385, allocations: 125.9 kB / 0.5215 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.723e-05/0.4386, allocations: 33.69 kB / 0.5216 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.4386, allocations: 8.109 kB / 0.5216 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.4386, allocations: 0 / 0.5216 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.4386, allocations: 32.52 kB / 0.5216 GB, free: 9.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.4386, allocations: 3.984 kB / 0.5216 GB, free: 9.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003102/0.4389, allocations: 69.53 kB / 0.5217 GB, free: 8.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.439, allocations: 57.03 kB / 0.5217 GB, free: 8.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.512e-05/0.439, allocations: 97.48 kB / 0.5218 GB, free: 8.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.439, allocations: 26.83 kB / 0.5219 GB, free: 8.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.702e-05/0.439, allocations: 80.14 kB / 0.5219 GB, free: 8.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.4391, allocations: 15.52 kB / 0.522 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.4391, allocations: 17.7 kB / 0.522 GB, free: 8.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.745e-05/0.4392, allocations: 317.3 kB / 0.5223 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.4392, allocations: 7.062 kB / 0.5223 GB, free: 8.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.282e-05/0.4392, allocations: 8.094 kB / 0.5223 GB, free: 8.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.4392, allocations: 17.5 kB / 0.5223 GB, free: 8.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.4392, allocations: 0 / 0.5223 GB, free: 8.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.883e-05/0.4393, allocations: 52.34 kB / 0.5224 GB, free: 8.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.4393, allocations: 8.688 kB / 0.5224 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4393, allocations: 1.125 kB / 0.5224 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4393, allocations: 0.6094 kB / 0.5224 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.931e-05/0.4394, allocations: 8.016 kB / 0.5224 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4394, allocations: 1.969 kB / 0.5224 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.079e-05/0.4394, allocations: 4 kB / 0.5224 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.4394, allocations: 1.859 kB / 0.5224 GB, free: 8.262 MB / 382.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 4.291e-05/0.4395, allocations: 108 kB / 0.5225 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.4395, allocations: 5.094 kB / 0.5225 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.4396, allocations: 56.83 kB / 0.5225 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.4396, allocations: 1.844 kB / 0.5225 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4396, allocations: 0 / 0.5225 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4396, allocations: 0 / 0.5225 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.253e-05/0.4397, allocations: 128.5 kB / 0.5227 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4397, allocations: 0.75 kB / 0.5227 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.883e-05/0.4397, allocations: 8.203 kB / 0.5227 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4397, allocations: 5 kB / 0.5227 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.4397, allocations: 3.938 kB / 0.5227 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4397, allocations: 1.766 kB / 0.5227 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4397, allocations: 0 / 0.5227 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.431e-05/0.4398, allocations: 77.19 kB / 0.5228 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/0.4398, allocations: 9.891 kB / 0.5228 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.4398, allocations: 0.9688 kB / 0.5228 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/0.4398, allocations: 1.125 kB / 0.5228 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.4399, allocations: 1.594 kB / 0.5228 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.4399, allocations: 1 kB / 0.5228 GB, free: 7.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.025e-05/0.4399, allocations: 82.44 kB / 0.5228 GB, free: 7.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4399, allocations: 0 / 0.5228 GB, free: 7.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001739/0.4401, allocations: 3.344 kB / 0.5229 GB, free: 7.762 MB / 382.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.0002232/0.4403, allocations: 0.6101 MB / 0.5234 GB, free: 7.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.814e-05/0.4404, allocations: 22.97 kB / 0.5235 GB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4404, allocations: 1.062 kB / 0.5235 GB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/0.4404, allocations: 6.016 kB / 0.5235 GB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.4405, allocations: 6.562 kB / 0.5235 GB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.4408, allocations: 130.9 kB / 0.5236 GB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.4409, allocations: 0.6753 MB / 0.5243 GB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.757e-05/0.4409, allocations: 1.812 kB / 0.5243 GB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.4409, allocations: 9.219 kB / 0.5243 GB, free: 6.285 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4409, allocations: 0 / 0.5243 GB, free: 6.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.4679, allocations: 1.153 MB / 0.5254 GB, free: 5.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.26, allocations: 7 kB / 0.5254 GB, free: 5.914 MB / 382.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file AES_AES.Coursework.OOM_Intro.HelloWorld_inverse_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0333333 AES_AES_Coursework_OOM_Intro_HelloWorld_inverse.fmu > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.312832097995852] Failed to read output from testmodel.py, exit status != 0: 11.371854585006076 11.393761768 10.951142491 Calling exit ...