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.001314/0.001314, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.001466/0.001466, allocations: 221.8 kB / 23.77 MB, free: 4.422 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1124/0.1124, allocations: 24.04 MB / 338 MB, free: 11.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: 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.002167/0.002167, allocations: 67.89 kB / 472.7 MB, free: 8.277 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3313, allocations: 59.57 MB / 0.5198 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002538/0.3338, allocations: 1.453 MB / 0.5212 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003183/0.3341, allocations: 111.3 kB / 0.5213 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.162e-05/0.3342, allocations: 1.219 kB / 0.5213 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.3342, allocations: 4.547 kB / 0.5213 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.3343, allocations: 9.594 kB / 0.5213 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.3345, allocations: 19.72 kB / 0.5214 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.711e-05/0.3346, allocations: 37.45 kB / 0.5214 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.488e-05/0.3347, allocations: 13.69 kB / 0.5214 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.511e-05/0.3347, allocations: 13.69 kB / 0.5214 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.935e-05/0.3348, allocations: 10.58 kB / 0.5214 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3348, allocations: 2.312 kB / 0.5214 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.3348, allocations: 6.094 kB / 0.5214 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.3348, allocations: 6.031 kB / 0.5214 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.3348, allocations: 11.92 kB / 0.5215 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.425e-05/0.3349, allocations: 29.34 kB / 0.5215 GB, free: 8.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3349, allocations: 0 / 0.5215 GB, free: 8.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3349, allocations: 0 / 0.5215 GB, free: 8.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.3349, allocations: 3.938 kB / 0.5215 GB, free: 8.16 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.0003093/0.3352, allocations: 269.6 kB / 0.5217 GB, free: 7.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3352, allocations: 10.17 kB / 0.5218 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.3353, allocations: 7.438 kB / 0.5218 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.3354, allocations: 124.7 kB / 0.5219 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3354, allocations: 5.453 kB / 0.5219 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3355, allocations: 1.625 kB / 0.5219 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.647e-05/0.3355, allocations: 44.33 kB / 0.5219 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3355, allocations: 4.125 kB / 0.5219 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3356, allocations: 5.984 kB / 0.5219 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3356, allocations: 3.938 kB / 0.5219 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.331e-05/0.3356, allocations: 6.297 kB / 0.5219 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.3358, allocations: 209.9 kB / 0.5221 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.91e-05/0.3359, allocations: 28.61 kB / 0.5222 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.3359, allocations: 19.38 kB / 0.5222 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.3359, allocations: 0 / 0.5222 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.3359, allocations: 31.84 kB / 0.5222 GB, free: 7.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.3359, allocations: 1.531 kB / 0.5222 GB, free: 7.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001428/0.3361, allocations: 46.61 kB / 0.5223 GB, free: 7.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.3361, allocations: 52.62 kB / 0.5223 GB, free: 7.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.087e-05/0.3362, allocations: 120 kB / 0.5224 GB, free: 7.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.3362, allocations: 27.78 kB / 0.5225 GB, free: 7.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.3362, allocations: 91.84 kB / 0.5225 GB, free: 7.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/0.3362, allocations: 13.75 kB / 0.5226 GB, free: 7.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.3362, allocations: 16.94 kB / 0.5226 GB, free: 7.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.96e-05/0.3363, allocations: 315 kB / 0.5229 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.3363, allocations: 7.438 kB / 0.5229 GB, free: 6.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.158e-05/0.3363, allocations: 4.578 kB / 0.5229 GB, free: 6.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.814e-05/0.3363, allocations: 20.64 kB / 0.5229 GB, free: 6.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3363, allocations: 3.938 kB / 0.5229 GB, free: 6.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.963e-05/0.3364, allocations: 47.8 kB / 0.523 GB, free: 6.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3364, allocations: 5.938 kB / 0.523 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3364, allocations: 0.8438 kB / 0.523 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3364, allocations: 0 / 0.523 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.3365, allocations: 12.95 kB / 0.523 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3365, allocations: 5.469 kB / 0.523 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.3365, allocations: 0 / 0.523 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.3365, allocations: 1.094 kB / 0.523 GB, free: 6.652 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 4.129e-05/0.3366, allocations: 113.3 kB / 0.5231 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.3366, allocations: 5.812 kB / 0.5231 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.3366, allocations: 13.66 kB / 0.5231 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3366, allocations: 1.719 kB / 0.5231 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.3366, allocations: 384 / 0.5231 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3366, allocations: 1.469 kB / 0.5231 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.3368, allocations: 235.2 kB / 0.5233 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3368, allocations: 0.7031 kB / 0.5233 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.3368, allocations: 8.125 kB / 0.5233 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.3368, allocations: 0 / 0.5233 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.3368, allocations: 1.156 kB / 0.5233 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3368, allocations: 0.6094 kB / 0.5233 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3368, allocations: 1.188 kB / 0.5233 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.3369, allocations: 150.5 kB / 0.5235 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.3369, allocations: 1.828 kB / 0.5235 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.337, allocations: 1.766 kB / 0.5235 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.061e-05/0.337, allocations: 5.688 kB / 0.5235 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.337, allocations: 0.5625 kB / 0.5235 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.337, allocations: 1.672 kB / 0.5235 GB, free: 6.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.703e-05/0.3371, allocations: 95.64 kB / 0.5236 GB, free: 6.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3371, allocations: 0 / 0.5236 GB, free: 6.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.3373, allocations: 5.188 kB / 0.5236 GB, free: 6.035 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 5.8e-05/0.3373, allocations: 93.72 kB / 0.5237 GB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.841e-05/0.3374, allocations: 21.2 kB / 0.5237 GB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3374, allocations: 4 kB / 0.5237 GB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.3374, allocations: 5 kB / 0.5237 GB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.3377, allocations: 10.02 kB / 0.5237 GB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.338, allocations: 168.9 kB / 0.5239 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.359e-05/0.338, allocations: 66.06 kB / 0.524 GB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.338, allocations: 9.969 kB / 0.524 GB, free: 5.688 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.338, allocations: 0 / 0.524 GB, free: 5.688 MB / 382.1 MB Notification: Performance of Templates: time 0.002241/0.3403, allocations: 0.6677 MB / 0.5246 GB, free: 5.648 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.051775414030999] Failed to read output from testmodel.py, exit status != 0: 0.347825120203197 0.360410506 0.022470868 Calling exit ...