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.001294/0.001294, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001443/0.001443, allocations: 217.7 kB / 23.04 MB, free: 5.074 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 8 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.09927/0.09927, allocations: 22.93 MB / 336.2 MB, free: 12.62 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.002915/0.002915, allocations: 59.91 kB / 469.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3344, allocations: 59.29 MB / 0.5168 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001535/0.336, allocations: 0.5237 MB / 0.5173 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001273/0.3361, allocations: 22 kB / 0.5173 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.3361, allocations: 0 / 0.5173 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.3361, allocations: 0.6562 kB / 0.5173 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.3362, allocations: 0 / 0.5173 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.815e-05/0.3363, allocations: 3.016 kB / 0.5173 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.06e-05/0.3363, allocations: 16.33 kB / 0.5173 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.3364, allocations: 3.094 kB / 0.5173 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.3364, allocations: 6.062 kB / 0.5173 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.631e-05/0.3364, allocations: 3.281 kB / 0.5173 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.3365, allocations: 0.5312 kB / 0.5173 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-06/0.3365, allocations: 1.156 kB / 0.5173 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.3365, allocations: 4.141 kB / 0.5173 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.967e-05/0.3365, allocations: 5.344 kB / 0.5174 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.27e-05/0.3365, allocations: 12.28 kB / 0.5174 GB, free: 9.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3366, allocations: 0.7969 kB / 0.5174 GB, free: 9.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3366, allocations: 0.5 kB / 0.5174 GB, free: 9.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.3366, allocations: 1.938 kB / 0.5174 GB, free: 9.105 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.0002975/0.3369, allocations: 255.2 kB / 0.5176 GB, free: 8.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3369, allocations: 10.89 kB / 0.5176 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.226e-05/0.3369, allocations: 0.7969 kB / 0.5176 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.534e-05/0.3369, allocations: 31.31 kB / 0.5177 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.206e-05/0.3369, allocations: 3.312 kB / 0.5177 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.366e-05/0.337, allocations: 116.5 kB / 0.5178 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.337, allocations: 0.9062 kB / 0.5178 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.337, allocations: 1.406 kB / 0.5178 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.133e-05/0.3371, allocations: 45.2 kB / 0.5178 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3371, allocations: 0 / 0.5178 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.3371, allocations: 0.6094 kB / 0.5178 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3372, allocations: 0 / 0.5178 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.949e-05/0.3372, allocations: 6.422 kB / 0.5178 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.3373, allocations: 127 kB / 0.5179 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.527e-05/0.3374, allocations: 25.58 kB / 0.518 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.3374, allocations: 15.84 kB / 0.518 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.3374, allocations: 1.656 kB / 0.518 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.3374, allocations: 35.75 kB / 0.518 GB, free: 8.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.3374, allocations: 0 / 0.518 GB, free: 8.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001565/0.3376, allocations: 46.47 kB / 0.5181 GB, free: 8.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.824e-05/0.3376, allocations: 52.52 kB / 0.5181 GB, free: 8.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.589e-05/0.3377, allocations: 103.7 kB / 0.5182 GB, free: 8.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.3377, allocations: 25.7 kB / 0.5182 GB, free: 8.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.575e-05/0.3377, allocations: 80.75 kB / 0.5183 GB, free: 8.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.3377, allocations: 9.719 kB / 0.5183 GB, free: 8.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.3377, allocations: 16.66 kB / 0.5183 GB, free: 8.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.835e-05/0.3378, allocations: 312.7 kB / 0.5186 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.3378, allocations: 11.89 kB / 0.5186 GB, free: 7.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.3378, allocations: 5.422 kB / 0.5186 GB, free: 7.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.338, allocations: 39.16 kB / 0.5187 GB, free: 7.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.338, allocations: 0 / 0.5187 GB, free: 7.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.748e-05/0.3381, allocations: 45.92 kB / 0.5187 GB, free: 7.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.3381, allocations: 9.156 kB / 0.5187 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3381, allocations: 1.578 kB / 0.5187 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.3381, allocations: 0 / 0.5187 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/0.3382, allocations: 14.03 kB / 0.5188 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3382, allocations: 5.828 kB / 0.5188 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.3382, allocations: 5.344 kB / 0.5188 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.3382, allocations: 0.7031 kB / 0.5188 GB, free: 7.684 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.0001057/0.3383, allocations: 115.3 kB / 0.5189 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-06/0.3383, allocations: 5.625 kB / 0.5189 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.663e-05/0.3383, allocations: 12.5 kB / 0.5189 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3383, allocations: 0.5156 kB / 0.5189 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.3383, allocations: 0.875 kB / 0.5189 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3384, allocations: 0.9375 kB / 0.5189 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.638e-05/0.3384, allocations: 126.5 kB / 0.519 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3384, allocations: 0 / 0.519 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.3385, allocations: 10.33 kB / 0.519 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3385, allocations: 5.781 kB / 0.519 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.3385, allocations: 0 / 0.519 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3385, allocations: 1.281 kB / 0.519 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3385, allocations: 0.6094 kB / 0.519 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.3386, allocations: 82.95 kB / 0.5191 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.3386, allocations: 5.828 kB / 0.5191 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.3386, allocations: 2.078 kB / 0.5191 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.164e-05/0.3387, allocations: 1.312 kB / 0.5191 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.3387, allocations: 1.266 kB / 0.5191 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.3387, allocations: 1.953 kB / 0.5191 GB, free: 7.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.962e-05/0.3387, allocations: 82.06 kB / 0.5192 GB, free: 7.242 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3387, allocations: 0 / 0.5192 GB, free: 7.242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001704/0.3389, allocations: 2.75 kB / 0.5192 GB, free: 7.242 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.0002411/0.3391, allocations: 0.6065 MB / 0.5198 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.973e-05/0.3392, allocations: 20.12 kB / 0.5198 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3392, allocations: 4.656 kB / 0.5198 GB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.237e-05/0.3393, allocations: 9.844 kB / 0.5198 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.3394, allocations: 1.875 kB / 0.5198 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006897/0.3401, allocations: 1.11 MB / 0.5209 GB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.611e-05/0.3402, allocations: 0.6768 MB / 0.5216 GB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.846e-05/0.3402, allocations: 0 / 0.5216 GB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.3402, allocations: 10.22 kB / 0.5216 GB, free: 4.848 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3402, allocations: 0 / 0.5216 GB, free: 4.848 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.3614, allocations: 1.267 MB / 0.5228 GB, free: 4.477 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.32, allocations: 16.7 kB / 0.5228 GB, free: 4.469 MB / 382.1 MB " [Timeout remaining time 649] (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.084609334007837] Failed to read output from testmodel.py, exit status != 0: 11.482547559018712 11.50450247 11.163825588 Calling exit ...