Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.FOPDT.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.001424/0.001424, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001633/0.001633, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1037/0.1037, allocations: 22.93 MB / 336.1 MB, free: 12.43 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.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",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.002144/0.002144, allocations: 63.91 kB / 469.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3692, allocations: 59.28 MB / 0.5167 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002412/0.3716, allocations: 1.444 MB / 0.5181 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003537/0.372, allocations: 111 kB / 0.5182 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.372, allocations: 1.406 kB / 0.5182 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.3721, allocations: 4.594 kB / 0.5182 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.031e-05/0.3721, allocations: 6.547 kB / 0.5182 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.3724, allocations: 32.45 kB / 0.5182 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.3725, allocations: 33.56 kB / 0.5183 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3726, allocations: 15.19 kB / 0.5183 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.09e-05/0.3726, allocations: 13.47 kB / 0.5183 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.3727, allocations: 8.984 kB / 0.5183 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.3727, allocations: 2.438 kB / 0.5183 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.3727, allocations: 2.312 kB / 0.5183 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.3727, allocations: 10.09 kB / 0.5183 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.3728, allocations: 15.7 kB / 0.5183 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.772e-05/0.3728, allocations: 26.27 kB / 0.5184 GB, free: 8.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.3728, allocations: 0 / 0.5184 GB, free: 8.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3728, allocations: 4.344 kB / 0.5184 GB, free: 8.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.3728, allocations: 0 / 0.5184 GB, free: 8.469 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003542/0.3732, allocations: 268.9 kB / 0.5186 GB, free: 8.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.3732, allocations: 9.984 kB / 0.5186 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.716e-05/0.3733, allocations: 3.375 kB / 0.5186 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.3733, allocations: 36.3 kB / 0.5187 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.3734, allocations: 8.859 kB / 0.5187 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.3735, allocations: 123.8 kB / 0.5188 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.3735, allocations: 5.625 kB / 0.5188 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.3735, allocations: 8.188 kB / 0.5188 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.956e-05/0.3736, allocations: 46.5 kB / 0.5189 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3736, allocations: 0 / 0.5189 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.3736, allocations: 5.188 kB / 0.5189 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.3737, allocations: 0.5625 kB / 0.5189 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.965e-05/0.3737, allocations: 13.61 kB / 0.5189 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.374, allocations: 248.9 kB / 0.5191 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.075e-05/0.3741, allocations: 32.16 kB / 0.5191 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.3741, allocations: 15.19 kB / 0.5192 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.3741, allocations: 5 kB / 0.5192 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.3741, allocations: 32.47 kB / 0.5192 GB, free: 7.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3741, allocations: 4.625 kB / 0.5192 GB, free: 7.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001574/0.3743, allocations: 48.58 kB / 0.5192 GB, free: 7.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.3743, allocations: 56.75 kB / 0.5193 GB, free: 7.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.442e-05/0.3744, allocations: 117.3 kB / 0.5194 GB, free: 7.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.3744, allocations: 25.7 kB / 0.5194 GB, free: 7.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.3744, allocations: 96.97 kB / 0.5195 GB, free: 7.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.3744, allocations: 14.05 kB / 0.5195 GB, free: 7.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.3744, allocations: 15.38 kB / 0.5196 GB, free: 7.258 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.3745, allocations: 325.3 kB / 0.5199 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.3745, allocations: 4.578 kB / 0.5199 GB, free: 6.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.274e-05/0.3745, allocations: 8.125 kB / 0.5199 GB, free: 6.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.164e-05/0.3745, allocations: 22.77 kB / 0.5199 GB, free: 6.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3745, allocations: 0.6562 kB / 0.5199 GB, free: 6.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.63e-05/0.3746, allocations: 51.75 kB / 0.52 GB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3746, allocations: 4.281 kB / 0.52 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3746, allocations: 1.5 kB / 0.52 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3746, allocations: 0 / 0.52 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.914e-05/0.3747, allocations: 6.75 kB / 0.52 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3747, allocations: 0 / 0.52 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.3747, allocations: 5.438 kB / 0.52 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.3747, allocations: 5.312 kB / 0.52 GB, free: 6.867 MB / 382.1 MB 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 (4): * Single equations (assignments): 4 * 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 4.949e-05/0.3748, allocations: 116.8 kB / 0.5201 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.3748, allocations: 3.125 kB / 0.5201 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.3748, allocations: 11.25 kB / 0.5201 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3749, allocations: 1.062 kB / 0.5201 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3749, allocations: 0 / 0.5201 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3749, allocations: 4.641 kB / 0.5201 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.375, allocations: 258 kB / 0.5203 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.375, allocations: 4.359 kB / 0.5204 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.3751, allocations: 17.86 kB / 0.5204 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3751, allocations: 0 / 0.5204 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3751, allocations: 1.891 kB / 0.5204 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3751, allocations: 0 / 0.5204 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3751, allocations: 7.922 kB / 0.5204 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.3752, allocations: 152.3 kB / 0.5205 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.3752, allocations: 9.922 kB / 0.5205 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.3752, allocations: 2.016 kB / 0.5205 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.864e-05/0.3753, allocations: 0 / 0.5205 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.3753, allocations: 9.922 kB / 0.5205 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3753, allocations: 2.031 kB / 0.5205 GB, free: 6.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.623e-05/0.3754, allocations: 95.23 kB / 0.5206 GB, free: 6.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3754, allocations: 0 / 0.5206 GB, free: 6.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000217/0.3756, allocations: 6.406 kB / 0.5206 GB, free: 6.195 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 ($outputAlias_y) * 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 (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 Backend phase and start with SimCode phase: time 0.0002262/0.3758, allocations: 0.6826 MB / 0.5213 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.988e-05/0.3759, allocations: 16.83 kB / 0.5213 GB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3759, allocations: 0 / 0.5213 GB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.712e-05/0.3759, allocations: 10.95 kB / 0.5213 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.3762, allocations: 17.67 kB / 0.5214 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009581/0.3771, allocations: 1.291 MB / 0.5226 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.342e-05/0.3772, allocations: 68.14 kB / 0.5227 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.037e-05/0.3772, allocations: 2.953 kB / 0.5227 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.3773, allocations: 15.25 kB / 0.5227 GB, free: 4.211 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3773, allocations: 0 / 0.5227 GB, free: 4.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.3991, allocations: 1.661 MB / 0.5243 GB, free: 3.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.91, allocations: 4.281 kB / 0.5243 GB, free: 3.793 MB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.ProcessBlocks.FOPDT.pipe ; mkfifo AES_AES.ProcessBlocks.FOPDT.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.FOPDT.pipe >> ../files/AES_AES.ProcessBlocks.FOPDT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_FOPDT_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_FOPDT.fmu > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.714100535959005] Failed to read output from testmodel.py, exit status != 0: 12.073754765093327 12.102296526 11.723010441 Calling exit ...