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.001357/0.001357, allocations: 109.2 kB / 17.14 MB, free: 5.93 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.001443/0.001443, allocations: 205.1 kB / 20.11 MB, free: 2.977 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.605/1.605, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1342/0.1342, allocations: 24.03 MB / 333.6 MB, free: 1.574 MB / 254.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.002121/0.002121, allocations: 70.88 kB / 468.4 MB, free: 31.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1136, allocations: 59.54 MB / 0.5156 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001706/0.1153, allocations: 0.5088 MB / 0.5161 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001706/0.1155, allocations: 31.89 kB / 0.5161 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.038e-05/0.1155, allocations: 0 / 0.5161 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.1155, allocations: 0 / 0.5161 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.212e-05/0.1155, allocations: 3.938 kB / 0.5161 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.1157, allocations: 11.98 kB / 0.5161 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.112e-05/0.1158, allocations: 7.984 kB / 0.5161 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.1158, allocations: 11.92 kB / 0.5161 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.431e-05/0.1158, allocations: 3.938 kB / 0.5161 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.269e-05/0.1159, allocations: 8 kB / 0.5161 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1159, allocations: 0 / 0.5161 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.201e-06/0.1159, allocations: 0 / 0.5161 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.1159, allocations: 0 / 0.5161 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.1159, allocations: 3.938 kB / 0.5161 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.713e-05/0.116, allocations: 11.97 kB / 0.5161 GB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.116, allocations: 0 / 0.5161 GB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.116, allocations: 4 kB / 0.5161 GB, free: 11.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.116, allocations: 0 / 0.5161 GB, free: 11.72 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.0004279/0.1164, allocations: 324.3 kB / 0.5165 GB, free: 11.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1165, allocations: 12.62 kB / 0.5165 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.1165, allocations: 34.69 kB / 0.5165 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.1165, allocations: 8.891 kB / 0.5165 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.1167, allocations: 164.4 kB / 0.5167 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.1167, allocations: 384 / 0.5167 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1167, allocations: 8.375 kB / 0.5167 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.993e-05/0.1168, allocations: 30.27 kB / 0.5167 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1168, allocations: 3.938 kB / 0.5167 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1168, allocations: 4 kB / 0.5167 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1168, allocations: 3.938 kB / 0.5167 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.491e-05/0.1168, allocations: 3.984 kB / 0.5167 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.117, allocations: 149.7 kB / 0.5169 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.906e-05/0.1171, allocations: 30.53 kB / 0.5169 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.1171, allocations: 12.92 kB / 0.5169 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.1171, allocations: 0 / 0.5169 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1171, allocations: 30.56 kB / 0.5169 GB, free: 10.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.1171, allocations: 0 / 0.5169 GB, free: 10.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003183/0.1175, allocations: 69.56 kB / 0.517 GB, free: 10.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1175, allocations: 55.39 kB / 0.517 GB, free: 10.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/0.1176, allocations: 98.05 kB / 0.5171 GB, free: 10.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1176, allocations: 25.7 kB / 0.5172 GB, free: 10.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.1177, allocations: 80.14 kB / 0.5172 GB, free: 10.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.1177, allocations: 15.84 kB / 0.5173 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.1177, allocations: 13.72 kB / 0.5173 GB, free: 10.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1179, allocations: 318.8 kB / 0.5176 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.1179, allocations: 4 kB / 0.5176 GB, free: 10.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/0.1179, allocations: 4 kB / 0.5176 GB, free: 10.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.1179, allocations: 25.05 kB / 0.5176 GB, free: 9.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.118, allocations: 4 kB / 0.5176 GB, free: 9.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.51e-05/0.118, allocations: 41.69 kB / 0.5177 GB, free: 9.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.118, allocations: 15.88 kB / 0.5177 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.118, allocations: 0 / 0.5177 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1181, allocations: 3.984 kB / 0.5177 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.1181, allocations: 4 kB / 0.5177 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1181, allocations: 4 kB / 0.5177 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.1182, allocations: 0 / 0.5177 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1182, allocations: 0 / 0.5177 GB, free: 9.918 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 9.65e-05/0.1183, allocations: 114.6 kB / 0.5178 GB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.1183, allocations: 7.938 kB / 0.5178 GB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.1184, allocations: 57.11 kB / 0.5178 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1184, allocations: 0 / 0.5178 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1184, allocations: 4 kB / 0.5179 GB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1184, allocations: 0 / 0.5179 GB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.1185, allocations: 149.7 kB / 0.518 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1185, allocations: 0 / 0.518 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.005e-05/0.1186, allocations: 7.938 kB / 0.518 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1186, allocations: 7.938 kB / 0.518 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1186, allocations: 8 kB / 0.518 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1186, allocations: 0 / 0.518 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1186, allocations: 4 kB / 0.518 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.707e-05/0.1187, allocations: 73.02 kB / 0.5181 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.1188, allocations: 81.05 kB / 0.5182 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.1188, allocations: 3.984 kB / 0.5182 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.492e-05/0.1188, allocations: 8 kB / 0.5182 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.1188, allocations: 8 kB / 0.5182 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1188, allocations: 0 / 0.5182 GB, free: 9.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.328e-05/0.1189, allocations: 75.28 kB / 0.5183 GB, free: 9.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1189, allocations: 4 kB / 0.5183 GB, free: 9.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001752/0.119, allocations: 0 / 0.5183 GB, free: 9.211 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.0004306/0.1195, allocations: 0.6047 MB / 0.5189 GB, free: 8.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.653e-05/0.1196, allocations: 19.92 kB / 0.5189 GB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1196, allocations: 0 / 0.5189 GB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.49e-05/0.1196, allocations: 4 kB / 0.5189 GB, free: 8.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.1197, allocations: 8 kB / 0.5189 GB, free: 8.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.12, allocations: 118.5 kB / 0.519 GB, free: 8.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.1203, allocations: 0.6771 MB / 0.5197 GB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.993e-05/0.1204, allocations: 4 kB / 0.5197 GB, free: 7.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.1204, allocations: 11.44 kB / 0.5197 GB, free: 7.672 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1204, allocations: 3.938 kB / 0.5197 GB, free: 7.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.1428, allocations: 1.03 MB / 0.5207 GB, free: 6.699 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/7.813, allocations: 13.91 kB / 0.5207 GB, free: 6.688 MB / 382.1 MB " [Timeout remaining time 652] (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: 10.863528521033004] Failed to read output from testmodel.py, exit status != 0: 7.882157125044614 7.905912106 7.785581066 Calling exit ...