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.000831/0.000831, allocations: 72.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.000953/0.000953, allocations: 169.6 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.9122/0.9122, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.06176/0.06176, allocations: 18.13 MB / 278.1 MB, free: 11.53 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 412.7 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.986e-05, allocations: 5.375 kB / 412.7 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001189/0.001209, allocations: 0.5091 MB / 413.2 MB, free: 352 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001322/0.001341, allocations: 15.91 kB / 413.2 MB, free: 336 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.001369, allocations: 0 / 413.2 MB, free: 336 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.001388, allocations: 11.81 kB / 413.2 MB, free: 324 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.842e-05/0.001446, allocations: 0 / 413.2 MB, free: 324 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.001547, allocations: 11.98 kB / 413.2 MB, free: 312 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.139e-05/0.001609, allocations: 4 kB / 413.2 MB, free: 308 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.292e-05/0.001662, allocations: 0 / 413.2 MB, free: 308 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.179e-05/0.001694, allocations: 8 kB / 413.2 MB, free: 300 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.001763, allocations: 11.92 kB / 413.2 MB, free: 288 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.001787, allocations: 0 / 413.2 MB, free: 288 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.001797, allocations: 4 kB / 413.3 MB, free: 284 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.001816, allocations: 3.984 kB / 413.3 MB, free: 280 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.001837, allocations: 0 / 413.3 MB, free: 280 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.094e-05/0.001908, allocations: 11.92 kB / 413.3 MB, free: 268 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.00191, allocations: 0 / 413.3 MB, free: 268 kB / 378.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.001911, allocations: 0 / 413.3 MB, free: 268 kB / 378.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.001915, allocations: 0 / 413.3 MB, free: 268 kB / 378.7 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.000325/0.00224, allocations: 246.6 kB / 413.5 MB, free: 15.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.002279, allocations: 12.92 kB / 413.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.002309, allocations: 34.75 kB / 413.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.778e-05/0.002327, allocations: 0.9375 kB / 413.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.867e-05/0.002406, allocations: 109.7 kB / 413.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.002423, allocations: 8.312 kB / 413.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.002437, allocations: 384 / 413.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.724e-05/0.002524, allocations: 42.23 kB / 413.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.00253, allocations: 192 / 413.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.002538, allocations: 384 / 413.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.002544, allocations: 3.938 kB / 413.7 MB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.028e-05/0.002574, allocations: 8 kB / 413.7 MB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.002696, allocations: 124.8 kB / 413.8 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.53e-05/0.002751, allocations: 26.55 kB / 413.9 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.002773, allocations: 16.91 kB / 413.9 MB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.002782, allocations: 0 / 413.9 MB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.002801, allocations: 34.56 kB / 413.9 MB, free: 15.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.002802, allocations: 0 / 413.9 MB, free: 15.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001385/0.002941, allocations: 49.62 kB / 414 MB, free: 15.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.002973, allocations: 59.53 kB / 414 MB, free: 15.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.243e-05/0.003036, allocations: 93.86 kB / 414.1 MB, free: 15.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.003046, allocations: 25.7 kB / 414.1 MB, free: 15.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.003077, allocations: 88.12 kB / 414.2 MB, free: 15.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.003105, allocations: 11.84 kB / 414.2 MB, free: 15.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.003133, allocations: 13.72 kB / 414.3 MB, free: 15.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.023e-05/0.003213, allocations: 314.8 kB / 414.6 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.00323, allocations: 4 kB / 414.6 MB, free: 14.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.261e-05/0.003243, allocations: 11.92 kB / 414.6 MB, free: 14.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.003389, allocations: 36.88 kB / 414.6 MB, free: 14.72 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.003391, allocations: 0 / 414.6 MB, free: 14.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.776e-05/0.003448, allocations: 45.69 kB / 414.7 MB, free: 14.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.003461, allocations: 7.281 kB / 414.7 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.003465, allocations: 0 / 414.7 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.003478, allocations: 7.875 kB / 414.7 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.261e-05/0.003531, allocations: 7.984 kB / 414.7 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.003536, allocations: 4 kB / 414.7 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.149e-05/0.003547, allocations: 0 / 414.7 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.003552, allocations: 0 / 414.7 MB, free: 14.65 MB / 394.7 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.0001335/0.003686, allocations: 113.8 kB / 414.8 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-06/0.00369, allocations: 0 / 414.8 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.801e-05/0.003708, allocations: 11.27 kB / 414.8 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.003712, allocations: 11.86 kB / 414.8 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.003717, allocations: 0 / 414.8 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.003721, allocations: 4 kB / 414.8 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.656e-05/0.003787, allocations: 116.8 kB / 414.9 MB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.003788, allocations: 0 / 414.9 MB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.00383, allocations: 11.98 kB / 414.9 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.003831, allocations: 288 / 415 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.003838, allocations: 4 kB / 415 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.00384, allocations: 3.938 kB / 415 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.003841, allocations: 0 / 415 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.003956, allocations: 85 kB / 415 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-06/0.003965, allocations: 0 / 415 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.003974, allocations: 0 / 415 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-06/0.003984, allocations: 3.938 kB / 415 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.00401, allocations: 8.016 kB / 415.1 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.004012, allocations: 0 / 415.1 MB, free: 14.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.66e-05/0.004039, allocations: 83.38 kB / 415.1 MB, free: 14.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004039, allocations: 4 kB / 415.1 MB, free: 14.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001157/0.004155, allocations: 0 / 415.1 MB, free: 14.13 MB / 394.7 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.0002524/0.004407, allocations: 0.6046 MB / 415.7 MB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.112e-05/0.004478, allocations: 16 kB / 415.8 MB, free: 13.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.00448, allocations: 0 / 415.8 MB, free: 13.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.004496, allocations: 7.984 kB / 415.8 MB, free: 13.47 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.004608, allocations: 16.09 kB / 415.8 MB, free: 13.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006702/0.005278, allocations: 1.11 MB / 416.9 MB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.57e-05/0.005314, allocations: 63.34 kB / 417 MB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.906e-05/0.005333, allocations: 0 / 417 MB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.005362, allocations: 8.5 kB / 417 MB, free: 12.17 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.005363, allocations: 0 / 417 MB, free: 12.17 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.01875, allocations: 1.752 MB / 418.7 MB, free: 10.51 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.69/6.709, allocations: 8.938 kB / 418.7 MB, free: 10.51 MB / 394.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_OOM_Intro_HelloWorld_fmu --startTime=0 --stopTime=100 --stepSize=0.0333333 --timeout=50 --tolerance=1e-06 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: 8.474786857143044] Failed to read output from testmodel.py, exit status != 0: 6.787371978163719 6.796246852 6.792583656 Calling exit ...