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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 110.5 kB / 16.46 MB, free: 5.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 194.8 kB / 19.41 MB, free: 3.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.1004/0.1004, allocations: 22.7 MB / 325.4 MB, free: 3.551 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.89 kB / 455.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1423, allocations: 58.02 MB / 0.5015 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002766/0.1451, allocations: 1.437 MB / 0.5029 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003171/0.1454, allocations: 119.7 kB / 0.503 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.1455, allocations: 3.938 kB / 0.503 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.447e-05/0.1455, allocations: 4 kB / 0.503 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.968e-05/0.1455, allocations: 11.88 kB / 0.503 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.1457, allocations: 19.97 kB / 0.503 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.1458, allocations: 35.8 kB / 0.5031 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.1459, allocations: 11.98 kB / 0.5031 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.146, allocations: 15.92 kB / 0.5031 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.532e-05/0.146, allocations: 11.94 kB / 0.5031 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.146, allocations: 4 kB / 0.5031 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-06/0.146, allocations: 0 / 0.5031 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.146, allocations: 11.92 kB / 0.5031 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.1461, allocations: 15.94 kB / 0.5032 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.129e-05/0.1462, allocations: 31.77 kB / 0.5032 GB, free: 7.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1462, allocations: 0 / 0.5032 GB, free: 7.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1462, allocations: 0 / 0.5032 GB, free: 7.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1462, allocations: 0 / 0.5032 GB, free: 7.559 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.0004512/0.1466, allocations: 351.3 kB / 0.5035 GB, free: 7.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1467, allocations: 8.031 kB / 0.5035 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.1467, allocations: 4.938 kB / 0.5035 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.1469, allocations: 176.3 kB / 0.5037 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1469, allocations: 4.375 kB / 0.5037 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.1469, allocations: 4.375 kB / 0.5037 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1471, allocations: 50.19 kB / 0.5038 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1471, allocations: 192 / 0.5038 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.1471, allocations: 3.938 kB / 0.5038 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1471, allocations: 0 / 0.5038 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.425e-05/0.1471, allocations: 4 kB / 0.5038 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.1475, allocations: 272.8 kB / 0.504 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.518e-05/0.1476, allocations: 34.52 kB / 0.5041 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.1476, allocations: 8.922 kB / 0.5041 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.1476, allocations: 0 / 0.5041 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1477, allocations: 34.56 kB / 0.5041 GB, free: 6.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.1477, allocations: 0 / 0.5041 GB, free: 6.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001569/0.1478, allocations: 45.69 kB / 0.5041 GB, free: 6.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.1479, allocations: 59.47 kB / 0.5042 GB, free: 6.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.148, allocations: 113.8 kB / 0.5043 GB, free: 6.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.148, allocations: 25.7 kB / 0.5043 GB, free: 6.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.1481, allocations: 92.08 kB / 0.5044 GB, free: 6.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.1481, allocations: 11.95 kB / 0.5044 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.1481, allocations: 9.719 kB / 0.5044 GB, free: 6.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1482, allocations: 322.8 kB / 0.5047 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.1483, allocations: 7.922 kB / 0.5048 GB, free: 5.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102e-05/0.1483, allocations: 12 kB / 0.5048 GB, free: 5.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.765e-05/0.1483, allocations: 20.86 kB / 0.5048 GB, free: 5.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1483, allocations: 0 / 0.5048 GB, free: 5.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.762e-05/0.1484, allocations: 57.66 kB / 0.5048 GB, free: 5.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1484, allocations: 4 kB / 0.5048 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1484, allocations: 384 / 0.5048 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1484, allocations: 4 kB / 0.5048 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.1485, allocations: 4 kB / 0.5049 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1485, allocations: 0 / 0.5049 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.708e-05/0.1485, allocations: 3.938 kB / 0.5049 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1485, allocations: 4 kB / 0.5049 GB, free: 5.613 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 0.0001129/0.1486, allocations: 122.5 kB / 0.505 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.1486, allocations: 3.953 kB / 0.505 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.1487, allocations: 11.52 kB / 0.505 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1487, allocations: 0 / 0.505 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1487, allocations: 0 / 0.505 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1487, allocations: 0 / 0.505 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.149, allocations: 294.4 kB / 0.5053 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.149, allocations: 4.031 kB / 0.5053 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.831e-05/0.149, allocations: 4 kB / 0.5053 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.149, allocations: 0 / 0.5053 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.149, allocations: 0 / 0.5053 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.149, allocations: 0 / 0.5053 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.149, allocations: 0 / 0.5053 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.1492, allocations: 143.5 kB / 0.5054 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.1492, allocations: 85.05 kB / 0.5055 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.1493, allocations: 4.094 kB / 0.5055 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.13e-05/0.1493, allocations: 4 kB / 0.5055 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.1493, allocations: 4.031 kB / 0.5055 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.1493, allocations: 3.938 kB / 0.5055 GB, free: 4.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.438e-05/0.1494, allocations: 95.2 kB / 0.5056 GB, free: 4.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1494, allocations: 0 / 0.5056 GB, free: 4.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.1496, allocations: 4 kB / 0.5056 GB, free: 4.742 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 0.0001001/0.1497, allocations: 91.25 kB / 0.5057 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.151e-05/0.1498, allocations: 16 kB / 0.5057 GB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1498, allocations: 3.938 kB / 0.5057 GB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/0.1498, allocations: 4 kB / 0.5057 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.1501, allocations: 11.98 kB / 0.5057 GB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.1504, allocations: 146.7 kB / 0.5059 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1507, allocations: 0.6884 MB / 0.5065 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.739e-05/0.1508, allocations: 4.062 kB / 0.5065 GB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.1508, allocations: 11.44 kB / 0.5066 GB, free: 3.707 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1508, allocations: 0 / 0.5066 GB, free: 3.707 MB / 382.1 MB Notification: Performance of Templates: time 0.00275/0.1535, allocations: 400.9 kB / 0.5069 GB, free: 3.316 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.95370222395286] Failed to read output from testmodel.py, exit status != 0: 0.16134375287219882 0.41043568500000005 0.261720248 Calling exit ...