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.00171/0.00171, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002273/0.002273, allocations: 213.8 kB / 23.01 MB, free: 5.125 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.1092/0.1092, allocations: 24.12 MB / 337.3 MB, free: 11.44 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: translateModel(AES.ProcessBlocks.FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.FOPDT") translateModel(AES.ProcessBlocks.FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.FOPDT") [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.002022/0.002022, allocations: 63.91 kB / 472.2 MB, free: 8.277 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4025, allocations: 59.6 MB / 0.5193 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002998/0.4055, allocations: 1.465 MB / 0.5207 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003774/0.4058, allocations: 119.7 kB / 0.5209 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.607e-05/0.4059, allocations: 0 / 0.5209 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.4059, allocations: 4.5 kB / 0.5209 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.571e-05/0.406, allocations: 6.578 kB / 0.5209 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.4063, allocations: 23.08 kB / 0.5209 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.4064, allocations: 38.11 kB / 0.5209 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.4065, allocations: 14.31 kB / 0.5209 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.4065, allocations: 12.67 kB / 0.5209 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.4066, allocations: 23.19 kB / 0.521 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.4066, allocations: 1.219 kB / 0.521 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.4066, allocations: 2.781 kB / 0.521 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.4067, allocations: 0.75 kB / 0.521 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.4067, allocations: 16.64 kB / 0.521 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.398e-05/0.4068, allocations: 26.05 kB / 0.521 GB, free: 8.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4068, allocations: 0 / 0.521 GB, free: 8.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4068, allocations: 0 / 0.521 GB, free: 8.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.4068, allocations: 0 / 0.521 GB, free: 8.266 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.0003798/0.4072, allocations: 271.4 kB / 0.5213 GB, free: 7.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4072, allocations: 11.08 kB / 0.5213 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.4072, allocations: 7.359 kB / 0.5213 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.4074, allocations: 125 kB / 0.5214 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.4074, allocations: 3.531 kB / 0.5214 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.4075, allocations: 1.5 kB / 0.5214 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.4076, allocations: 44.89 kB / 0.5215 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4076, allocations: 192 / 0.5215 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.4076, allocations: 11.88 kB / 0.5215 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4076, allocations: 1.125 kB / 0.5215 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.884e-05/0.4076, allocations: 6.391 kB / 0.5215 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.408, allocations: 240.7 kB / 0.5217 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.987e-05/0.408, allocations: 25.56 kB / 0.5217 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.408, allocations: 10.52 kB / 0.5217 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.408, allocations: 4 kB / 0.5217 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.4081, allocations: 43.72 kB / 0.5218 GB, free: 7.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.4081, allocations: 0 / 0.5218 GB, free: 7.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000166/0.4082, allocations: 47.56 kB / 0.5218 GB, free: 7.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.4083, allocations: 53.53 kB / 0.5219 GB, free: 7.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.846e-05/0.4084, allocations: 111.8 kB / 0.522 GB, free: 7.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.4084, allocations: 25.7 kB / 0.522 GB, free: 7.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.4084, allocations: 96.67 kB / 0.5221 GB, free: 7.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.4084, allocations: 13.69 kB / 0.5221 GB, free: 7.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.4084, allocations: 13.05 kB / 0.5221 GB, free: 7.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.4085, allocations: 322.8 kB / 0.5224 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.4085, allocations: 3.016 kB / 0.5224 GB, free: 6.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.514e-05/0.4086, allocations: 5.094 kB / 0.5224 GB, free: 6.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.4086, allocations: 24.34 kB / 0.5225 GB, free: 6.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4086, allocations: 5.125 kB / 0.5225 GB, free: 6.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.706e-05/0.4087, allocations: 48.05 kB / 0.5225 GB, free: 6.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.4087, allocations: 5.625 kB / 0.5225 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4087, allocations: 0.6562 kB / 0.5225 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.4087, allocations: 1.219 kB / 0.5225 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.4088, allocations: 4.141 kB / 0.5225 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.4088, allocations: 1.5 kB / 0.5225 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.4088, allocations: 0 / 0.5225 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.4089, allocations: 2.203 kB / 0.5225 GB, free: 6.723 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 (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 7.56e-05/0.4089, allocations: 119.2 kB / 0.5226 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.409, allocations: 11.16 kB / 0.5227 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.409, allocations: 9.688 kB / 0.5227 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.409, allocations: 0.75 kB / 0.5227 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.409, allocations: 0 / 0.5227 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.409, allocations: 1.438 kB / 0.5227 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.4092, allocations: 262.8 kB / 0.5229 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4092, allocations: 0 / 0.5229 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.345e-05/0.4093, allocations: 7.422 kB / 0.5229 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4093, allocations: 1.25 kB / 0.5229 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.4093, allocations: 1.219 kB / 0.5229 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4093, allocations: 4.031 kB / 0.5229 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4093, allocations: 1.344 kB / 0.5229 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.4094, allocations: 149.9 kB / 0.5231 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.4094, allocations: 6.125 kB / 0.5231 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.4095, allocations: 5.125 kB / 0.5231 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.873e-05/0.4095, allocations: 0.8438 kB / 0.5231 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.4095, allocations: 1.5 kB / 0.5231 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.4095, allocations: 9.031 kB / 0.5231 GB, free: 6.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.69e-05/0.4096, allocations: 90.89 kB / 0.5232 GB, free: 6.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4096, allocations: 0 / 0.5232 GB, free: 6.055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.4098, allocations: 5.219 kB / 0.5232 GB, free: 6.055 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pr.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 (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 7.793e-05/0.4099, allocations: 93.58 kB / 0.5233 GB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.41, allocations: 18.59 kB / 0.5233 GB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.41, allocations: 0 / 0.5233 GB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-05/0.41, allocations: 9.141 kB / 0.5233 GB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.4103, allocations: 13.88 kB / 0.5233 GB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.4106, allocations: 159.3 kB / 0.5235 GB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.4108, allocations: 0.6842 MB / 0.5241 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.4108, allocations: 8.625 kB / 0.5241 GB, free: 5.086 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4108, allocations: 0 / 0.5241 GB, free: 5.086 MB / 382.1 MB Notification: Performance of Templates: time 0.002536/0.4133, allocations: 0.6618 MB / 0.5248 GB, free: 5.039 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessBlocks.FOPDT.makefile [Timeout 660] (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 & ./AES_AES.ProcessBlocks.FOPDT -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.719582637073472] Failed to read output from testmodel.py, exit status != 0: 0.42162037012167275 0.43751032300000003 0.027047401000000002 Calling exit ...