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.001378/0.001378, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.00147/0.00147, allocations: 207.4 kB / 23.01 MB, free: 4.621 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.754 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.1421/0.1421, allocations: 24.04 MB / 337.2 MB, free: 11.4 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,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.002154/0.002154, allocations: 67.83 kB / 471.5 MB, free: 8.758 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3526, allocations: 59.58 MB / 0.5186 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001964/0.3546, allocations: 0.5181 MB / 0.5191 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001509/0.3547, allocations: 19.11 kB / 0.5191 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.3547, allocations: 0 / 0.5191 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.3547, allocations: 0 / 0.5191 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.926e-05/0.3548, allocations: 5.188 kB / 0.5191 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000101/0.3549, allocations: 4.297 kB / 0.5191 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.103e-05/0.355, allocations: 14 kB / 0.5191 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.355, allocations: 1.828 kB / 0.5191 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.3551, allocations: 6.875 kB / 0.5191 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.3551, allocations: 7.438 kB / 0.5192 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3551, allocations: 0.9688 kB / 0.5192 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-06/0.3551, allocations: 3.938 kB / 0.5192 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.3552, allocations: 5.672 kB / 0.5192 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.3552, allocations: 5.359 kB / 0.5192 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.575e-05/0.3552, allocations: 12.39 kB / 0.5192 GB, free: 8.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3552, allocations: 0.5625 kB / 0.5192 GB, free: 8.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3553, allocations: 3.938 kB / 0.5192 GB, free: 8.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3553, allocations: 0.875 kB / 0.5192 GB, free: 8.699 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.0003506/0.3556, allocations: 242.5 kB / 0.5194 GB, free: 8.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3556, allocations: 15.12 kB / 0.5194 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.569e-05/0.3557, allocations: 31.78 kB / 0.5195 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.3557, allocations: 6.625 kB / 0.5195 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.957e-05/0.3558, allocations: 107.1 kB / 0.5196 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.3558, allocations: 1.672 kB / 0.5196 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.3558, allocations: 1.594 kB / 0.5196 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.773e-05/0.3559, allocations: 32.69 kB / 0.5196 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3559, allocations: 4.625 kB / 0.5196 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.3559, allocations: 0 / 0.5196 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3559, allocations: 5.344 kB / 0.5196 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.555e-05/0.356, allocations: 13.83 kB / 0.5196 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.3561, allocations: 123 kB / 0.5197 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/0.3562, allocations: 26.64 kB / 0.5198 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.3562, allocations: 9.688 kB / 0.5198 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.3562, allocations: 0.5312 kB / 0.5198 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.3562, allocations: 36.77 kB / 0.5198 GB, free: 7.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.3562, allocations: 0 / 0.5198 GB, free: 7.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001722/0.3564, allocations: 50.11 kB / 0.5199 GB, free: 7.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.3564, allocations: 56.86 kB / 0.5199 GB, free: 7.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.751e-05/0.3565, allocations: 99.47 kB / 0.52 GB, free: 7.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.3565, allocations: 26.58 kB / 0.52 GB, free: 7.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.627e-05/0.3565, allocations: 81.42 kB / 0.5201 GB, free: 7.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.3565, allocations: 17.14 kB / 0.5201 GB, free: 7.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.3565, allocations: 13.52 kB / 0.5201 GB, free: 7.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.272e-05/0.3566, allocations: 312.8 kB / 0.5204 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.214e-05/0.3566, allocations: 8.609 kB / 0.5205 GB, free: 7.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.335e-05/0.3566, allocations: 4.25 kB / 0.5205 GB, free: 7.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.3569, allocations: 42.22 kB / 0.5205 GB, free: 7.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3569, allocations: 0.6562 kB / 0.5205 GB, free: 7.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.915e-05/0.3569, allocations: 45.28 kB / 0.5205 GB, free: 7.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.357, allocations: 8.969 kB / 0.5205 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.357, allocations: 1.812 kB / 0.5206 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.357, allocations: 0.8906 kB / 0.5206 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.735e-05/0.357, allocations: 10.23 kB / 0.5206 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3571, allocations: 4.547 kB / 0.5206 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.3571, allocations: 1.156 kB / 0.5206 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.3571, allocations: 6.125 kB / 0.5206 GB, free: 7.246 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.0001171/0.3572, allocations: 112.6 kB / 0.5207 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.3572, allocations: 5.922 kB / 0.5207 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.717e-05/0.3572, allocations: 7.875 kB / 0.5207 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3572, allocations: 0.9375 kB / 0.5207 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3572, allocations: 0.75 kB / 0.5207 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3572, allocations: 1.469 kB / 0.5207 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.305e-05/0.3573, allocations: 122.7 kB / 0.5208 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.3573, allocations: 2.547 kB / 0.5208 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.209e-05/0.3573, allocations: 9.672 kB / 0.5208 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3573, allocations: 9.375 kB / 0.5208 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.3574, allocations: 0 / 0.5208 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3574, allocations: 0.75 kB / 0.5208 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3574, allocations: 1.406 kB / 0.5208 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.3575, allocations: 78.03 kB / 0.5209 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.3575, allocations: 1.891 kB / 0.5209 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.3575, allocations: 5.875 kB / 0.5209 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.298e-05/0.3575, allocations: 5.094 kB / 0.5209 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.3576, allocations: 2.641 kB / 0.5209 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.3576, allocations: 4.094 kB / 0.5209 GB, free: 6.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.226e-05/0.3576, allocations: 84.08 kB / 0.521 GB, free: 6.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3576, allocations: 0 / 0.521 GB, free: 6.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001766/0.3578, allocations: 2.531 kB / 0.521 GB, free: 6.785 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.0002719/0.358, allocations: 0.6117 MB / 0.5216 GB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.3581, allocations: 14.31 kB / 0.5216 GB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3581, allocations: 0 / 0.5216 GB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.3582, allocations: 19.28 kB / 0.5216 GB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.3583, allocations: 0.9688 kB / 0.5216 GB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007231/0.359, allocations: 1.109 MB / 0.5227 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.186e-05/0.3591, allocations: 58.44 kB / 0.5228 GB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.234e-05/0.3591, allocations: 5.844 kB / 0.5228 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.3591, allocations: 9.359 kB / 0.5228 GB, free: 4.98 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3591, allocations: 8.031 kB / 0.5228 GB, free: 4.973 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03371/0.3928, allocations: 1.615 MB / 0.5244 GB, free: 4.195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.41, allocations: 12.73 kB / 0.5244 GB, free: 4.188 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.197442201897502] Failed to read output from testmodel.py, exit status != 0: 11.515207859687507 11.532060882 11.173487591 Calling exit ...