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.001313/0.001313, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001427/0.001427, allocations: 214.6 kB / 23.03 MB, free: 4.922 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1009/0.1009, allocations: 22.93 MB / 336.2 MB, free: 12.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld",fmuType="cs",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.0021/0.0021, allocations: 65.14 kB / 469.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3829, allocations: 59.29 MB / 0.5167 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.002068/0.3849, allocations: 0.513 MB / 0.5172 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001719/0.3851, allocations: 17.72 kB / 0.5172 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.3851, allocations: 0 / 0.5172 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.3852, allocations: 0.7812 kB / 0.5172 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.3852, allocations: 4.547 kB / 0.5172 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.3853, allocations: 2.438 kB / 0.5172 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.738e-05/0.3854, allocations: 13.14 kB / 0.5172 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.25e-05/0.3854, allocations: 6.453 kB / 0.5172 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.101e-05/0.3855, allocations: 2.969 kB / 0.5172 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.3855, allocations: 3.797 kB / 0.5173 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.3855, allocations: 0.5312 kB / 0.5173 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-06/0.3855, allocations: 4.484 kB / 0.5173 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.3856, allocations: 4.531 kB / 0.5173 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.3856, allocations: 4.875 kB / 0.5173 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.163e-05/0.3856, allocations: 13.28 kB / 0.5173 GB, free: 9.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3857, allocations: 7.688 kB / 0.5173 GB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3857, allocations: 0 / 0.5173 GB, free: 9.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3857, allocations: 0 / 0.5173 GB, free: 9.121 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.0003666/0.386, allocations: 247 kB / 0.5175 GB, free: 8.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3861, allocations: 10.45 kB / 0.5175 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.337e-05/0.3861, allocations: 1.562 kB / 0.5175 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.992e-05/0.3861, allocations: 31.41 kB / 0.5176 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.516e-05/0.3861, allocations: 2.656 kB / 0.5176 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.945e-05/0.3862, allocations: 111.1 kB / 0.5177 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.3862, allocations: 1.594 kB / 0.5177 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.3863, allocations: 2.938 kB / 0.5177 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.3864, allocations: 37.44 kB / 0.5177 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3864, allocations: 0 / 0.5177 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.3864, allocations: 5.859 kB / 0.5177 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3864, allocations: 0 / 0.5177 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.122e-05/0.3865, allocations: 12.92 kB / 0.5177 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.3866, allocations: 131.7 kB / 0.5179 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3867, allocations: 24.67 kB / 0.5179 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.3868, allocations: 9.922 kB / 0.5179 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3868, allocations: 1.219 kB / 0.5179 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.3868, allocations: 36.27 kB / 0.5179 GB, free: 8.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.3868, allocations: 0 / 0.5179 GB, free: 8.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002487/0.3871, allocations: 54.16 kB / 0.518 GB, free: 8.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.3871, allocations: 52.41 kB / 0.518 GB, free: 8.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.937e-05/0.3871, allocations: 98.41 kB / 0.5181 GB, free: 8.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.3872, allocations: 27.17 kB / 0.5181 GB, free: 8.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.894e-05/0.3872, allocations: 84.05 kB / 0.5182 GB, free: 8.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.3872, allocations: 10.16 kB / 0.5182 GB, free: 8.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.3872, allocations: 15.81 kB / 0.5182 GB, free: 8.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.914e-05/0.3873, allocations: 312.7 kB / 0.5185 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.993e-05/0.3873, allocations: 3.828 kB / 0.5185 GB, free: 7.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4e-05/0.3874, allocations: 7.359 kB / 0.5186 GB, free: 7.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.3877, allocations: 44.5 kB / 0.5186 GB, free: 7.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3877, allocations: 3.938 kB / 0.5186 GB, free: 7.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001533/0.3878, allocations: 44.25 kB / 0.5186 GB, free: 7.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3878, allocations: 9.344 kB / 0.5187 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3878, allocations: 1.375 kB / 0.5187 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3879, allocations: 0.9375 kB / 0.5187 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.9e-05/0.388, allocations: 6.656 kB / 0.5187 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.388, allocations: 0.7031 kB / 0.5187 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.388, allocations: 13.09 kB / 0.5187 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.388, allocations: 1.312 kB / 0.5187 GB, free: 7.707 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.0001293/0.3881, allocations: 108.4 kB / 0.5188 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.3882, allocations: 5.688 kB / 0.5188 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.3882, allocations: 12.12 kB / 0.5188 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3882, allocations: 0.7188 kB / 0.5188 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3882, allocations: 0.9062 kB / 0.5188 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3882, allocations: 0 / 0.5188 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.652e-05/0.3883, allocations: 123.2 kB / 0.5189 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3883, allocations: 6.047 kB / 0.5189 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.296e-05/0.3884, allocations: 10.44 kB / 0.5189 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3884, allocations: 4.656 kB / 0.5189 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3884, allocations: 0 / 0.5189 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3884, allocations: 0.625 kB / 0.5189 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3884, allocations: 1.672 kB / 0.5189 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.3886, allocations: 74.61 kB / 0.519 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.3886, allocations: 8.578 kB / 0.519 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.3886, allocations: 2.203 kB / 0.519 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-05/0.3886, allocations: 96 / 0.519 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.3887, allocations: 6.719 kB / 0.519 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3887, allocations: 5.031 kB / 0.519 GB, free: 7.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.261e-05/0.3887, allocations: 78.27 kB / 0.5191 GB, free: 7.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3887, allocations: 0 / 0.5191 GB, free: 7.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003338/0.389, allocations: 4.594 kB / 0.5191 GB, free: 7.266 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.0003364/0.3894, allocations: 0.6102 MB / 0.5197 GB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.3895, allocations: 12.58 kB / 0.5197 GB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3895, allocations: 8.094 kB / 0.5197 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.589e-05/0.3895, allocations: 13.92 kB / 0.5197 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.3898, allocations: 6.453 kB / 0.5197 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009966/0.3908, allocations: 1.11 MB / 0.5208 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.353e-05/0.3908, allocations: 58.72 kB / 0.5209 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.806e-05/0.3908, allocations: 6.375 kB / 0.5209 GB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.3908, allocations: 8.891 kB / 0.5209 GB, free: 5.496 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3908, allocations: 0 / 0.5209 GB, free: 5.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.4136, allocations: 1.292 MB / 0.5222 GB, free: 5.105 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.65, allocations: 6.156 kB / 0.5222 GB, free: 5.105 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.439680809970014] Failed to read output from testmodel.py, exit status != 0: 11.819432465010323 11.839547232 11.450549637 Calling exit ...