Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld.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.001305/0.001305, allocations: 109.4 kB / 17.15 MB, free: 6.02 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.001434/0.001434, allocations: 207.2 kB / 20.11 MB, free: 3.062 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.491/1.491, 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.1156/0.1156, allocations: 24.03 MB / 333.6 MB, free: 1.566 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,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld",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.002057/0.002057, allocations: 64.2 kB / 466.3 MB, free: 32.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09493/0.09698, allocations: 59.55 MB / 0.5135 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001733/0.09872, allocations: 0.5079 MB / 0.514 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001546/0.09887, allocations: 23.91 kB / 0.514 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.492e-05/0.09889, allocations: 0 / 0.514 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.09891, allocations: 0 / 0.514 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.588e-05/0.09898, allocations: 7.922 kB / 0.514 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.836e-05/0.09908, allocations: 4 kB / 0.514 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.847e-05/0.09913, allocations: 8 kB / 0.514 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.09919, allocations: 7.984 kB / 0.514 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.811e-05/0.09921, allocations: 7.922 kB / 0.514 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.09927, allocations: 4 kB / 0.5141 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.09928, allocations: 0 / 0.5141 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.964e-06/0.09929, allocations: 0 / 0.5141 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.09931, allocations: 4 kB / 0.5141 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.09933, allocations: 3.938 kB / 0.5141 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.625e-05/0.0994, allocations: 12.2 kB / 0.5141 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.0994, allocations: 0 / 0.5141 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.09941, allocations: 4 kB / 0.5141 GB, free: 13.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.09941, allocations: 0 / 0.5141 GB, free: 13.84 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.0004717/0.09988, allocations: 331.4 kB / 0.5144 GB, free: 13.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.09992, allocations: 16.56 kB / 0.5144 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.09996, allocations: 30.75 kB / 0.5144 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.985e-05/0.09998, allocations: 0.9375 kB / 0.5144 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.1001, allocations: 168.3 kB / 0.5146 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.1002, allocations: 4.375 kB / 0.5146 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1002, allocations: 384 / 0.5146 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.1003, allocations: 34.27 kB / 0.5146 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1003, allocations: 3.938 kB / 0.5146 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.1003, allocations: 0 / 0.5146 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1003, allocations: 0 / 0.5146 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.858e-05/0.1003, allocations: 11.98 kB / 0.5146 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.1005, allocations: 149.7 kB / 0.5148 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.741e-05/0.1006, allocations: 30.53 kB / 0.5148 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.1006, allocations: 8.859 kB / 0.5148 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-06/0.1007, allocations: 4.062 kB / 0.5148 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1007, allocations: 34.56 kB / 0.5149 GB, free: 12.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1007, allocations: 0 / 0.5149 GB, free: 12.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001942/0.1009, allocations: 53.56 kB / 0.5149 GB, free: 12.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.1009, allocations: 51.41 kB / 0.515 GB, free: 12.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.101, allocations: 106 kB / 0.5151 GB, free: 12.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.101, allocations: 25.7 kB / 0.5151 GB, free: 12.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.1011, allocations: 80.14 kB / 0.5152 GB, free: 12.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.1011, allocations: 15.91 kB / 0.5152 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.1011, allocations: 9.719 kB / 0.5152 GB, free: 12.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1013, allocations: 314.8 kB / 0.5155 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.1013, allocations: 8 kB / 0.5155 GB, free: 12.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.335e-05/0.1013, allocations: 4 kB / 0.5155 GB, free: 12.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.1015, allocations: 36.86 kB / 0.5155 GB, free: 12.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1015, allocations: 0 / 0.5155 GB, free: 12.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001064/0.1017, allocations: 49.86 kB / 0.5156 GB, free: 12.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1017, allocations: 7.938 kB / 0.5156 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1017, allocations: 0 / 0.5156 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1017, allocations: 4.031 kB / 0.5156 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/0.1018, allocations: 8 kB / 0.5156 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1018, allocations: 0 / 0.5156 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.1018, allocations: 11.94 kB / 0.5156 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1018, allocations: 3.984 kB / 0.5156 GB, free: 12.02 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: x:VARIABLE(start = xstart fixed = true ) type: Real 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 0.0001544/0.1019, allocations: 114.6 kB / 0.5157 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.102, allocations: 3.938 kB / 0.5157 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.832e-05/0.102, allocations: 3.125 kB / 0.5157 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.102, allocations: 0 / 0.5157 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.102, allocations: 3.938 kB / 0.5157 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.102, allocations: 4 kB / 0.5157 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.1021, allocations: 157.7 kB / 0.5159 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1021, allocations: 0 / 0.5159 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-05/0.1022, allocations: 4 kB / 0.5159 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1022, allocations: 3.938 kB / 0.5159 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.1022, allocations: 0 / 0.5159 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1022, allocations: 0 / 0.5159 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.1022, allocations: 7.922 kB / 0.5159 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.1024, allocations: 81.11 kB / 0.516 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.1024, allocations: 77.14 kB / 0.5161 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.1024, allocations: 7.938 kB / 0.5161 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.1025, allocations: 0 / 0.5161 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.1025, allocations: 0 / 0.5161 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1025, allocations: 3.984 kB / 0.5161 GB, free: 11.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.485e-05/0.1026, allocations: 83.28 kB / 0.5162 GB, free: 11.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1026, allocations: 0 / 0.5162 GB, free: 11.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001751/0.1027, allocations: 4 kB / 0.5162 GB, free: 11.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (2): * Single equations (assignments): 2 * 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.0005047/0.1032, allocations: 0.609 MB / 0.5168 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.1033, allocations: 11.98 kB / 0.5168 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1033, allocations: 0 / 0.5168 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.434e-05/0.1034, allocations: 8 kB / 0.5168 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.1035, allocations: 8.156 kB / 0.5168 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.1047, allocations: 1.11 MB / 0.5179 GB, free: 9.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.105, allocations: 0.6767 MB / 0.5185 GB, free: 8.812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.423e-05/0.105, allocations: 4 kB / 0.5185 GB, free: 8.809 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.1051, allocations: 7.438 kB / 0.5185 GB, free: 8.801 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1051, allocations: 0 / 0.5185 GB, free: 8.801 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.1299, allocations: 1.111 MB / 0.5196 GB, free: 7.746 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/7.928, allocations: 13.16 kB / 0.5196 GB, free: 7.734 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.OOM_Intro.HelloWorld_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.fmu > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.76406979188323] Failed to read output from testmodel.py, exit status != 0: 7.997847276041284 8.024640961 7.920410804 Calling exit ...