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.001394/0.001394, allocations: 109.4 kB / 17.15 MB, free: 6.02 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.001395/0.001395, allocations: 203.2 kB / 20.11 MB, free: 3.066 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.536/1.536, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1078/0.1078, allocations: 24.03 MB / 333.6 MB, free: 1.578 MB / 254.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.002113/0.002113, allocations: 66.12 kB / 466.7 MB, free: 32.49 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1268, allocations: 59.54 MB / 0.514 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002872/0.1296, allocations: 1.454 MB / 0.5154 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003597/0.13, allocations: 127.5 kB / 0.5155 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.1301, allocations: 0 / 0.5155 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.1301, allocations: 3.938 kB / 0.5155 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.973e-05/0.1302, allocations: 7.922 kB / 0.5155 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.1304, allocations: 27.92 kB / 0.5155 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.1305, allocations: 27.92 kB / 0.5156 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1306, allocations: 19.91 kB / 0.5156 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.627e-05/0.1307, allocations: 7.938 kB / 0.5156 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.139e-05/0.1307, allocations: 19.86 kB / 0.5156 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1307, allocations: 4 kB / 0.5156 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-06/0.1308, allocations: 4 kB / 0.5156 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.1308, allocations: 4 kB / 0.5156 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.1308, allocations: 15.88 kB / 0.5156 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.54e-05/0.1309, allocations: 27.89 kB / 0.5157 GB, free: 12.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1309, allocations: 0 / 0.5157 GB, free: 12.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1309, allocations: 0 / 0.5157 GB, free: 12.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1309, allocations: 0 / 0.5157 GB, free: 12.21 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.0004615/0.1314, allocations: 347.2 kB / 0.516 GB, free: 11.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1314, allocations: 16.62 kB / 0.516 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.1314, allocations: 4.891 kB / 0.516 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.1317, allocations: 176.4 kB / 0.5162 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.1317, allocations: 384 / 0.5162 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1317, allocations: 4.312 kB / 0.5162 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.1318, allocations: 42.25 kB / 0.5162 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1318, allocations: 192 / 0.5162 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1318, allocations: 3.938 kB / 0.5162 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1319, allocations: 7.938 kB / 0.5162 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.187e-05/0.1319, allocations: 11.94 kB / 0.5162 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.1323, allocations: 276.8 kB / 0.5165 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.331e-05/0.1324, allocations: 22.56 kB / 0.5165 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.1324, allocations: 12.92 kB / 0.5165 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.1324, allocations: 7.938 kB / 0.5165 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1324, allocations: 34.56 kB / 0.5166 GB, free: 11.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1324, allocations: 0 / 0.5166 GB, free: 11.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001698/0.1326, allocations: 49.64 kB / 0.5166 GB, free: 11.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.1326, allocations: 51.41 kB / 0.5167 GB, free: 10.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1328, allocations: 113.8 kB / 0.5168 GB, free: 10.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1328, allocations: 25.7 kB / 0.5168 GB, free: 10.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.1328, allocations: 96.08 kB / 0.5169 GB, free: 10.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.028e-05/0.1329, allocations: 3.953 kB / 0.5169 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.1329, allocations: 21.84 kB / 0.5169 GB, free: 10.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.133, allocations: 318.8 kB / 0.5172 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.1331, allocations: 11.94 kB / 0.5172 GB, free: 10.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.149e-05/0.1331, allocations: 4 kB / 0.5172 GB, free: 10.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.796e-05/0.1331, allocations: 16.86 kB / 0.5173 GB, free: 10.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1331, allocations: 0 / 0.5173 GB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.037e-05/0.1332, allocations: 45.69 kB / 0.5173 GB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1332, allocations: 4 kB / 0.5173 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1332, allocations: 0 / 0.5173 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1332, allocations: 0 / 0.5173 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.1333, allocations: 8 kB / 0.5173 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1333, allocations: 3.938 kB / 0.5173 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.1333, allocations: 4 kB / 0.5173 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1333, allocations: 4 kB / 0.5173 GB, free: 10.27 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 8.106e-05/0.1334, allocations: 111 kB / 0.5174 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.1334, allocations: 7.953 kB / 0.5174 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.1334, allocations: 15.52 kB / 0.5175 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1334, allocations: 0 / 0.5175 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1334, allocations: 7.938 kB / 0.5175 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1334, allocations: 0 / 0.5175 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.1337, allocations: 282.5 kB / 0.5177 GB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1337, allocations: 3.938 kB / 0.5177 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.1338, allocations: 4 kB / 0.5177 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1338, allocations: 0 / 0.5177 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.1338, allocations: 0 / 0.5177 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1338, allocations: 11.92 kB / 0.5178 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1338, allocations: 0 / 0.5178 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.1339, allocations: 147.5 kB / 0.5179 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.134, allocations: 85.12 kB / 0.518 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.134, allocations: 0 / 0.518 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.83e-05/0.134, allocations: 0 / 0.518 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.1341, allocations: 0 / 0.518 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.1341, allocations: 3.938 kB / 0.518 GB, free: 9.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.947e-05/0.1341, allocations: 95.27 kB / 0.5181 GB, free: 9.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1341, allocations: 0 / 0.5181 GB, free: 9.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.1343, allocations: 8.094 kB / 0.5181 GB, free: 9.395 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 8.614e-05/0.1344, allocations: 95.25 kB / 0.5182 GB, free: 9.293 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.766e-05/0.1345, allocations: 11.94 kB / 0.5182 GB, free: 9.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1345, allocations: 0 / 0.5182 GB, free: 9.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.66e-05/0.1345, allocations: 11.98 kB / 0.5182 GB, free: 9.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1348, allocations: 4 kB / 0.5182 GB, free: 9.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.1352, allocations: 146 kB / 0.5183 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1355, allocations: 0.6885 MB / 0.519 GB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.706e-05/0.1355, allocations: 0 / 0.519 GB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.016e-05/0.1355, allocations: 7.438 kB / 0.519 GB, free: 8.375 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1355, allocations: 4.281 kB / 0.519 GB, free: 8.371 MB / 382.1 MB Notification: Performance of Templates: time 0.00278/0.1383, allocations: 409.5 kB / 0.5194 GB, free: 7.973 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: 4.785158833488822] Failed to read output from testmodel.py, exit status != 0: 0.14552169665694237 0.158710133 0.025135716000000002 Calling exit ...