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.001701/0.001701, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002072/0.002072, allocations: 208.6 kB / 23.01 MB, free: 4.992 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.562/1.562, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1049/0.1049, allocations: 24.03 MB / 337.2 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.002128/0.002128, allocations: 67.91 kB / 471.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4152, allocations: 59.56 MB / 0.5191 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002406/0.4177, allocations: 1.457 MB / 0.5205 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003209/0.418, allocations: 104.3 kB / 0.5206 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.418, allocations: 1.188 kB / 0.5206 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.4181, allocations: 3.938 kB / 0.5206 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.4181, allocations: 6.516 kB / 0.5206 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.4184, allocations: 29.53 kB / 0.5206 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.4185, allocations: 37.42 kB / 0.5207 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.4186, allocations: 14.03 kB / 0.5207 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.851e-05/0.4187, allocations: 16.84 kB / 0.5207 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.4187, allocations: 14.22 kB / 0.5207 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.4187, allocations: 2.312 kB / 0.5207 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.4187, allocations: 2.25 kB / 0.5207 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.4188, allocations: 5.688 kB / 0.5207 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.4188, allocations: 12.78 kB / 0.5207 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.604e-05/0.4189, allocations: 20 kB / 0.5207 GB, free: 8.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4189, allocations: 1.156 kB / 0.5207 GB, free: 8.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4189, allocations: 0 / 0.5207 GB, free: 8.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.4189, allocations: 0.5156 kB / 0.5207 GB, free: 8.207 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.0003537/0.4192, allocations: 278.8 kB / 0.521 GB, free: 7.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4193, allocations: 14.52 kB / 0.521 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.4193, allocations: 8.078 kB / 0.521 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.4195, allocations: 119.9 kB / 0.5211 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-06/0.4195, allocations: 1.531 kB / 0.5211 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.4195, allocations: 5.812 kB / 0.5211 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.928e-05/0.4196, allocations: 41.22 kB / 0.5212 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4196, allocations: 192 / 0.5212 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4196, allocations: 3.938 kB / 0.5212 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4196, allocations: 1.375 kB / 0.5212 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.75e-05/0.4197, allocations: 13.59 kB / 0.5212 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.4199, allocations: 210.3 kB / 0.5214 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.294e-05/0.42, allocations: 33.06 kB / 0.5214 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.42, allocations: 9.797 kB / 0.5214 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.42, allocations: 12.41 kB / 0.5215 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.42, allocations: 32.28 kB / 0.5215 GB, free: 7.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.42, allocations: 0 / 0.5215 GB, free: 7.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001504/0.4202, allocations: 47.72 kB / 0.5215 GB, free: 7.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.4202, allocations: 57.22 kB / 0.5216 GB, free: 7.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.4203, allocations: 116.6 kB / 0.5217 GB, free: 7.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.662e-06/0.4203, allocations: 25.7 kB / 0.5217 GB, free: 7.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.4204, allocations: 92.02 kB / 0.5218 GB, free: 7.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.979e-06/0.4204, allocations: 13.8 kB / 0.5218 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.4204, allocations: 13.64 kB / 0.5218 GB, free: 7.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.822e-05/0.4204, allocations: 319.1 kB / 0.5221 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.4204, allocations: 6.906 kB / 0.5221 GB, free: 6.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.243e-05/0.4205, allocations: 4.078 kB / 0.5222 GB, free: 6.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.4205, allocations: 21.23 kB / 0.5222 GB, free: 6.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4205, allocations: 3.938 kB / 0.5222 GB, free: 6.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.58e-05/0.4206, allocations: 44.34 kB / 0.5222 GB, free: 6.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4206, allocations: 12.22 kB / 0.5222 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4206, allocations: 0.5156 kB / 0.5222 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4206, allocations: 1.125 kB / 0.5222 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.076e-05/0.4207, allocations: 4.953 kB / 0.5222 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.4207, allocations: 3.938 kB / 0.5222 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.4207, allocations: 5.688 kB / 0.5222 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.4207, allocations: 1.156 kB / 0.5222 GB, free: 6.691 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 5.451e-05/0.4207, allocations: 112.9 kB / 0.5224 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.4208, allocations: 6.078 kB / 0.5224 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.901e-05/0.4208, allocations: 13.39 kB / 0.5224 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4208, allocations: 5.156 kB / 0.5224 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4208, allocations: 0.6562 kB / 0.5224 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.4208, allocations: 0 / 0.5224 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.421, allocations: 229.4 kB / 0.5226 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.421, allocations: 0 / 0.5226 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.421, allocations: 3.969 kB / 0.5226 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.421, allocations: 384 / 0.5226 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.421, allocations: 5.828 kB / 0.5226 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.421, allocations: 3.938 kB / 0.5226 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.421, allocations: 0 / 0.5226 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.4211, allocations: 158.5 kB / 0.5228 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.4211, allocations: 3.594 kB / 0.5228 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.4212, allocations: 0 / 0.5228 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.4212, allocations: 1.281 kB / 0.5228 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.4212, allocations: 2.219 kB / 0.5228 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.4212, allocations: 1.219 kB / 0.5228 GB, free: 6.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.887e-05/0.4213, allocations: 91.28 kB / 0.5229 GB, free: 6.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4213, allocations: 0 / 0.5229 GB, free: 6.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.4215, allocations: 5.281 kB / 0.5229 GB, free: 6.074 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 6.965e-05/0.4216, allocations: 101.2 kB / 0.523 GB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.838e-05/0.4216, allocations: 17.56 kB / 0.523 GB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4216, allocations: 1.188 kB / 0.523 GB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.387e-05/0.4216, allocations: 8.641 kB / 0.523 GB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.4219, allocations: 5.766 kB / 0.523 GB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.4222, allocations: 138.2 kB / 0.5231 GB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.612e-05/0.4223, allocations: 67.22 kB / 0.5232 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.111e-05/0.4223, allocations: 5.797 kB / 0.5232 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.4223, allocations: 14 kB / 0.5232 GB, free: 5.754 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4223, allocations: 0 / 0.5232 GB, free: 5.754 MB / 382.1 MB Notification: Performance of Templates: time 0.002888/0.4252, allocations: 444.9 kB / 0.5236 GB, free: 5.688 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: 5.228073768317699] Failed to read output from testmodel.py, exit status != 0: 0.43293750658631325 0.4480385 0.025836169000000003 Calling exit ...