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.001342/0.001342, allocations: 109.4 kB / 16.46 MB, free: 6.453 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.001446/0.001446, allocations: 210.4 kB / 19.43 MB, free: 3.625 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.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.1147/0.1147, allocations: 24.12 MB / 333 MB, free: 12.61 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.002077/0.002077, allocations: 71.89 kB / 467.8 MB, free: 9.078 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.338, allocations: 59.56 MB / 0.515 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001953/0.3399, allocations: 0.5084 MB / 0.5155 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001958/0.3401, allocations: 35.72 kB / 0.5156 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.3401, allocations: 0 / 0.5156 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.3402, allocations: 5 kB / 0.5156 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.778e-05/0.3402, allocations: 0 / 0.5156 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.3404, allocations: 11.31 kB / 0.5156 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.695e-05/0.3405, allocations: 5.109 kB / 0.5156 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.3405, allocations: 2.609 kB / 0.5156 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.992e-05/0.3405, allocations: 6.438 kB / 0.5156 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.3406, allocations: 3.406 kB / 0.5156 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3406, allocations: 9.109 kB / 0.5156 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.432e-06/0.3406, allocations: 0 / 0.5156 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.3406, allocations: 1.828 kB / 0.5156 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.3407, allocations: 9.578 kB / 0.5156 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.772e-05/0.3407, allocations: 6.703 kB / 0.5156 GB, free: 9.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3407, allocations: 2.266 kB / 0.5156 GB, free: 9.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3407, allocations: 1.25 kB / 0.5156 GB, free: 9.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.3407, allocations: 0 / 0.5156 GB, free: 9.566 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.0003391/0.3411, allocations: 323.9 kB / 0.5159 GB, free: 9.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3411, allocations: 11.33 kB / 0.516 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.47e-05/0.3411, allocations: 34.75 kB / 0.516 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.086e-05/0.3412, allocations: 6.203 kB / 0.516 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.514e-05/0.3412, allocations: 164 kB / 0.5162 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3413, allocations: 384 / 0.5162 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.3413, allocations: 5.719 kB / 0.5162 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.216e-05/0.3414, allocations: 32.25 kB / 0.5162 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.3414, allocations: 3.938 kB / 0.5162 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.3414, allocations: 7.938 kB / 0.5162 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3414, allocations: 1.094 kB / 0.5162 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.224e-05/0.3414, allocations: 11.2 kB / 0.5162 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.3415, allocations: 147 kB / 0.5164 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.192e-05/0.3416, allocations: 25.06 kB / 0.5164 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.3416, allocations: 7.922 kB / 0.5164 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.3416, allocations: 1.156 kB / 0.5164 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.3416, allocations: 36.61 kB / 0.5164 GB, free: 8.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3416, allocations: 0 / 0.5164 GB, free: 8.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003197/0.342, allocations: 69.42 kB / 0.5165 GB, free: 8.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.342, allocations: 51.41 kB / 0.5165 GB, free: 8.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.707e-05/0.342, allocations: 98.97 kB / 0.5166 GB, free: 8.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.342, allocations: 25.7 kB / 0.5167 GB, free: 8.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.539e-05/0.3421, allocations: 81.2 kB / 0.5167 GB, free: 8.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.3421, allocations: 15.23 kB / 0.5167 GB, free: 8.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.3421, allocations: 17.16 kB / 0.5168 GB, free: 8.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.3422, allocations: 313.5 kB / 0.5171 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.3422, allocations: 8.234 kB / 0.5171 GB, free: 7.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.196e-05/0.3422, allocations: 7.328 kB / 0.5171 GB, free: 7.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.645e-05/0.3422, allocations: 17.64 kB / 0.5171 GB, free: 7.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.3422, allocations: 0 / 0.5171 GB, free: 7.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.31e-05/0.3423, allocations: 43.47 kB / 0.5171 GB, free: 7.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3423, allocations: 10.06 kB / 0.5171 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3423, allocations: 4.703 kB / 0.5171 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3423, allocations: 0 / 0.5171 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.3424, allocations: 8.5 kB / 0.5172 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3424, allocations: 1.312 kB / 0.5172 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.261e-05/0.3424, allocations: 0.6562 kB / 0.5172 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3425, allocations: 1.344 kB / 0.5172 GB, free: 7.926 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.92e-05/0.3425, allocations: 117.1 kB / 0.5173 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.3425, allocations: 5.828 kB / 0.5173 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.3426, allocations: 55.67 kB / 0.5173 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3426, allocations: 5.375 kB / 0.5173 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3426, allocations: 4.938 kB / 0.5173 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.3426, allocations: 0 / 0.5173 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.083e-05/0.3427, allocations: 157.2 kB / 0.5175 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3427, allocations: 0 / 0.5175 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.3428, allocations: 8.656 kB / 0.5175 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3428, allocations: 3.938 kB / 0.5175 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.3428, allocations: 1.484 kB / 0.5175 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3428, allocations: 0 / 0.5175 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3428, allocations: 5.344 kB / 0.5175 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.885e-05/0.3429, allocations: 80.58 kB / 0.5176 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.3429, allocations: 82.7 kB / 0.5177 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.3429, allocations: 1.453 kB / 0.5177 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.012e-05/0.3429, allocations: 0.9375 kB / 0.5177 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.3429, allocations: 1.906 kB / 0.5177 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-06/0.3429, allocations: 1.031 kB / 0.5177 GB, free: 7.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.352e-05/0.343, allocations: 86.19 kB / 0.5178 GB, free: 7.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.343, allocations: 0 / 0.5178 GB, free: 7.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001902/0.3431, allocations: 3.156 kB / 0.5178 GB, free: 7.281 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.0002599/0.3434, allocations: 0.6022 MB / 0.5183 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.5e-05/0.3435, allocations: 16.66 kB / 0.5184 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3435, allocations: 4.094 kB / 0.5184 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.3435, allocations: 6.172 kB / 0.5184 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.3437, allocations: 3.906 kB / 0.5184 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.344, allocations: 132.2 kB / 0.5185 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.3441, allocations: 0.6744 MB / 0.5192 GB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.177e-05/0.3441, allocations: 1.875 kB / 0.5192 GB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.3441, allocations: 9.703 kB / 0.5192 GB, free: 5.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3441, allocations: 4 kB / 0.5192 GB, free: 5.816 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.3683, allocations: 1.03 MB / 0.5202 GB, free: 5.457 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.268, allocations: 12.86 kB / 0.5202 GB, free: 5.445 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: 11.05422052112408] Failed to read output from testmodel.py, exit status != 0: 8.338045879034325 8.356577876 8.011694348 Calling exit ...