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.001726/0.001726, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002148/0.002148, allocations: 213.8 kB / 23.01 MB, free: 4.992 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1106/0.1106, allocations: 24.03 MB / 337.2 MB, free: 11.35 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.003671/0.003671, allocations: 63.91 kB / 473.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3817, allocations: 59.58 MB / 0.5209 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001882/0.3836, allocations: 0.5107 MB / 0.5214 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001682/0.3838, allocations: 27.38 kB / 0.5214 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.205e-05/0.3838, allocations: 0 / 0.5214 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.3838, allocations: 0 / 0.5214 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.899e-05/0.3838, allocations: 3.938 kB / 0.5214 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.384, allocations: 8.578 kB / 0.5214 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.092e-05/0.3841, allocations: 9.078 kB / 0.5214 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.3841, allocations: 2.031 kB / 0.5215 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.04e-05/0.3841, allocations: 3.219 kB / 0.5215 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.3842, allocations: 7.469 kB / 0.5215 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3842, allocations: 5.344 kB / 0.5215 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-06/0.3842, allocations: 0 / 0.5215 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.3843, allocations: 5.781 kB / 0.5215 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.3843, allocations: 0.6562 kB / 0.5215 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.045e-05/0.3843, allocations: 11.81 kB / 0.5215 GB, free: 9.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3843, allocations: 0.9062 kB / 0.5215 GB, free: 9.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3843, allocations: 0 / 0.5215 GB, free: 9.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3844, allocations: 0 / 0.5215 GB, free: 9.801 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.0003791/0.3847, allocations: 248.6 kB / 0.5217 GB, free: 9.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.3848, allocations: 10.98 kB / 0.5217 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.73e-05/0.3848, allocations: 38.75 kB / 0.5218 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.22e-05/0.3848, allocations: 6.547 kB / 0.5218 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.57e-05/0.3849, allocations: 105.3 kB / 0.5219 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.3849, allocations: 384 / 0.5219 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.385, allocations: 2.547 kB / 0.5219 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.003e-05/0.385, allocations: 31.11 kB / 0.5219 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3851, allocations: 9.766 kB / 0.5219 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.3851, allocations: 0 / 0.5219 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3851, allocations: 1.125 kB / 0.5219 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.391e-05/0.3851, allocations: 6.906 kB / 0.5219 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.3852, allocations: 129.5 kB / 0.522 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.603e-05/0.3853, allocations: 22.55 kB / 0.5221 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.3853, allocations: 11.81 kB / 0.5221 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.3853, allocations: 4 kB / 0.5221 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.3854, allocations: 33.56 kB / 0.5221 GB, free: 9.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3854, allocations: 0 / 0.5221 GB, free: 9.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003527/0.3857, allocations: 69.02 kB / 0.5222 GB, free: 9.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.3857, allocations: 53.28 kB / 0.5222 GB, free: 8.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.559e-05/0.3858, allocations: 97.97 kB / 0.5223 GB, free: 8.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.3858, allocations: 25.7 kB / 0.5224 GB, free: 8.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.451e-05/0.3858, allocations: 82.03 kB / 0.5224 GB, free: 8.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.3859, allocations: 14.94 kB / 0.5224 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.3859, allocations: 14.02 kB / 0.5225 GB, free: 8.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.386, allocations: 313 kB / 0.5228 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.386, allocations: 7.328 kB / 0.5228 GB, free: 8.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.386, allocations: 4.031 kB / 0.5228 GB, free: 8.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.386, allocations: 20.69 kB / 0.5228 GB, free: 8.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.386, allocations: 1.094 kB / 0.5228 GB, free: 8.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.539e-05/0.3861, allocations: 43.53 kB / 0.5228 GB, free: 8.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3861, allocations: 13.78 kB / 0.5228 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3861, allocations: 3.938 kB / 0.5228 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3861, allocations: 2.344 kB / 0.5228 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.3862, allocations: 11.44 kB / 0.5229 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3862, allocations: 0 / 0.5229 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.3862, allocations: 2.719 kB / 0.5229 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.3862, allocations: 1.125 kB / 0.5229 GB, free: 8.348 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.381e-05/0.3863, allocations: 111.8 kB / 0.523 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.3863, allocations: 6.031 kB / 0.523 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.3864, allocations: 56.47 kB / 0.523 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3864, allocations: 0.6562 kB / 0.523 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3864, allocations: 1.25 kB / 0.523 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3864, allocations: 0.9375 kB / 0.523 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.951e-05/0.3865, allocations: 122 kB / 0.5231 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3865, allocations: 1.531 kB / 0.5231 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.3865, allocations: 6.516 kB / 0.5232 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.3865, allocations: 5.562 kB / 0.5232 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.3865, allocations: 0.9375 kB / 0.5232 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.3865, allocations: 0 / 0.5232 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3865, allocations: 1.641 kB / 0.5232 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.822e-05/0.3866, allocations: 86.5 kB / 0.5232 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-06/0.3866, allocations: 4.781 kB / 0.5233 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.3866, allocations: 2.016 kB / 0.5233 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.737e-05/0.3866, allocations: 0 / 0.5233 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.3867, allocations: 6.188 kB / 0.5233 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.3867, allocations: 5.859 kB / 0.5233 GB, free: 7.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.1e-05/0.3867, allocations: 77.72 kB / 0.5233 GB, free: 7.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3867, allocations: 0 / 0.5233 GB, free: 7.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001862/0.3869, allocations: 2.969 kB / 0.5233 GB, free: 7.844 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.0002351/0.3871, allocations: 0.6158 MB / 0.5239 GB, free: 7.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.673e-05/0.3872, allocations: 16.41 kB / 0.524 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3872, allocations: 0 / 0.524 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.395e-05/0.3872, allocations: 6.047 kB / 0.524 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.3873, allocations: 6.016 kB / 0.524 GB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.3876, allocations: 124.5 kB / 0.5241 GB, free: 7.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.787e-05/0.3876, allocations: 57.81 kB / 0.5241 GB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.93e-05/0.3876, allocations: 5.922 kB / 0.5241 GB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.3876, allocations: 13.39 kB / 0.5242 GB, free: 6.996 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3876, allocations: 3.938 kB / 0.5242 GB, free: 6.992 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.4135, allocations: 1.524 MB / 0.5257 GB, free: 6.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.65, allocations: 7.609 kB / 0.5257 GB, free: 6.215 MB / 382.1 MB " [Timeout remaining time 648] (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.550480967853218] Failed to read output from testmodel.py, exit status != 0: 11.761503200046718 11.786438681 11.396941391 Calling exit ...