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.001261/0.001261, allocations: 76.45 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.001008/0.001008, allocations: 165.2 kB / 23.22 MB, free: 1.336 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.937/0.937, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.06334/0.06334, allocations: 18.14 MB / 278.1 MB, free: 11.56 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.833e-06/1.833e-06, allocations: 0 / 412.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.282e-05, allocations: 2.281 kB / 412.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001111/0.001134, allocations: 0.5173 MB / 413.2 MB, free: 13.13 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001186/0.001253, allocations: 14.45 kB / 413.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.98e-05/0.001272, allocations: 4 kB / 413.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.001287, allocations: 6.812 kB / 413.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.558e-05/0.001343, allocations: 0 / 413.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.258e-05/0.001435, allocations: 6.484 kB / 413.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.014e-05/0.001486, allocations: 8.781 kB / 413.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.001529, allocations: 3.172 kB / 413.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.721e-05/0.001556, allocations: 5.562 kB / 413.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.001607, allocations: 4.438 kB / 413.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.001627, allocations: 3.938 kB / 413.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-06/0.001635, allocations: 1.406 kB / 413.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.001649, allocations: 4.516 kB / 413.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.001667, allocations: 1.906 kB / 413.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.902e-05/0.001726, allocations: 10.62 kB / 413.3 MB, free: 13.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.001729, allocations: 4.062 kB / 413.3 MB, free: 13.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.00173, allocations: 0 / 413.3 MB, free: 13.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.001734, allocations: 1.406 kB / 413.3 MB, free: 13.1 MB / 330.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.0002569/0.001991, allocations: 246.2 kB / 413.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.00203, allocations: 10.58 kB / 413.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.064e-05/0.00205, allocations: 36.34 kB / 413.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.798e-05/0.002068, allocations: 2 kB / 413.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.988e-05/0.002128, allocations: 117.7 kB / 413.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.002147, allocations: 3.062 kB / 413.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.002162, allocations: 2.109 kB / 413.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.258e-05/0.002234, allocations: 32.72 kB / 413.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.002241, allocations: 1.312 kB / 413.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.002248, allocations: 384 / 413.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.002253, allocations: 7.781 kB / 413.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.028e-05/0.002284, allocations: 9.234 kB / 413.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.503e-05/0.002379, allocations: 125.8 kB / 413.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.149e-05/0.00243, allocations: 30.66 kB / 413.9 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.002451, allocations: 13 kB / 413.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.00246, allocations: 1.094 kB / 413.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.002472, allocations: 32.39 kB / 413.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.002473, allocations: 0 / 413.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001299/0.002603, allocations: 45.8 kB / 414 MB, free: 12.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.002622, allocations: 57.42 kB / 414 MB, free: 12.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.643e-05/0.002658, allocations: 98.42 kB / 414.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.189e-06/0.002664, allocations: 29.64 kB / 414.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.493e-05/0.002678, allocations: 82.28 kB / 414.2 MB, free: 12.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.002701, allocations: 9.734 kB / 414.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.002723, allocations: 16.92 kB / 414.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.612e-05/0.002749, allocations: 312.8 kB / 414.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.002767, allocations: 6.547 kB / 414.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.37e-05/0.00278, allocations: 4.969 kB / 414.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.002919, allocations: 41.34 kB / 414.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.002921, allocations: 0 / 414.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.556e-05/0.002977, allocations: 44.27 kB / 414.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.00299, allocations: 14.52 kB / 414.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.002995, allocations: 0 / 414.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.003008, allocations: 1.188 kB / 414.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.003067, allocations: 9.734 kB / 414.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.003073, allocations: 1.281 kB / 414.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.212e-05/0.003085, allocations: 0.6562 kB / 414.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.00309, allocations: 1.469 kB / 414.7 MB, free: 11.69 MB / 330.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.0001135/0.003203, allocations: 117 kB / 414.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-06/0.003208, allocations: 4.266 kB / 414.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.78e-05/0.003226, allocations: 12.16 kB / 414.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.003228, allocations: 1.312 kB / 414.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.003233, allocations: 5.312 kB / 414.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.003236, allocations: 0.5156 kB / 414.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.872e-05/0.003285, allocations: 127.1 kB / 414.9 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.003286, allocations: 0 / 414.9 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/0.003322, allocations: 6.031 kB / 415 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.003325, allocations: 2.047 kB / 415 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.003332, allocations: 3.938 kB / 415 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.003333, allocations: 0 / 415 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.003335, allocations: 5.031 kB / 415 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.003443, allocations: 84.72 kB / 415 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.003452, allocations: 3.406 kB / 415 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.003461, allocations: 0.5156 kB / 415 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-06/0.00347, allocations: 2.094 kB / 415 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.003494, allocations: 5.547 kB / 415.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.003496, allocations: 1.625 kB / 415.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.411e-05/0.00351, allocations: 83.62 kB / 415.1 MB, free: 11.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00351, allocations: 0 / 415.1 MB, free: 11.24 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000112/0.003622, allocations: 2.062 kB / 415.1 MB, free: 11.24 MB / 330.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.0001696/0.003792, allocations: 0.6104 MB / 415.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.634e-05/0.003868, allocations: 16.2 kB / 415.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.00387, allocations: 0 / 415.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.833e-05/0.003888, allocations: 7.188 kB / 415.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.003995, allocations: 6.938 kB / 415.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.00451, allocations: 1.111 MB / 416.9 MB, free: 9.559 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.361e-05/0.004534, allocations: 59.2 kB / 416.9 MB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.671e-05/0.004551, allocations: 1.625 kB / 417 MB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.00458, allocations: 13.05 kB / 417 MB, free: 9.477 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.004581, allocations: 0 / 417 MB, free: 9.477 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.02231, allocations: 1.748 MB / 418.7 MB, free: 8.613 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.734/6.757, allocations: 9 kB / 418.7 MB, free: 8.609 MB / 330.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 & 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: 8.910856492817402] Failed to read output from testmodel.py, exit status != 0: 7.000019107945263 6.851772669 6.847054799 Calling exit ...