Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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.00193/0.00193, 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.002355/0.002355, allocations: 218.8 kB / 23.01 MB, free: 5.121 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.643/1.643, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.1073/0.1073, 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.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") translateModel(AES.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") [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.00211/0.00211, allocations: 67.84 kB / 472.2 MB, free: 8.277 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3711, allocations: 59.6 MB / 0.5193 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002473/0.3735, allocations: 1.501 MB / 0.5208 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008918/0.3744, allocations: 0.5347 MB / 0.5213 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.3745, allocations: 1.594 kB / 0.5213 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.3748, allocations: 30.27 kB / 0.5213 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.3749, allocations: 16.08 kB / 0.5213 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.3751, allocations: 65.05 kB / 0.5214 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.3753, allocations: 147.7 kB / 0.5215 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.63e-05/0.3754, allocations: 10.77 kB / 0.5216 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.3755, allocations: 55.77 kB / 0.5216 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.3757, allocations: 65.16 kB / 0.5217 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.3757, allocations: 6.219 kB / 0.5217 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.664e-05/0.3757, allocations: 7.438 kB / 0.5217 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.3758, allocations: 43.59 kB / 0.5217 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.3758, allocations: 35.89 kB / 0.5218 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.376, allocations: 76.69 kB / 0.5218 GB, free: 7.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.376, allocations: 0 / 0.5218 GB, free: 7.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.376, allocations: 1.781 kB / 0.5218 GB, free: 7.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.376, allocations: 0 / 0.5218 GB, free: 7.777 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007877/0.3768, allocations: 376.9 kB / 0.5222 GB, free: 7.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3768, allocations: 9.828 kB / 0.5222 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.3768, allocations: 17.94 kB / 0.5222 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.3772, allocations: 173.8 kB / 0.5224 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3773, allocations: 1.531 kB / 0.5224 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.3773, allocations: 8.469 kB / 0.5224 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3774, allocations: 77.23 kB / 0.5225 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3775, allocations: 1.094 kB / 0.5225 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3775, allocations: 0 / 0.5225 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3775, allocations: 1.375 kB / 0.5225 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.3776, allocations: 53.53 kB / 0.5225 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/0.3782, allocations: 337.7 kB / 0.5228 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.3784, allocations: 83.12 kB / 0.5229 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.3784, allocations: 38.97 kB / 0.523 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.3784, allocations: 1.188 kB / 0.523 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3785, allocations: 36.47 kB / 0.523 GB, free: 6.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3785, allocations: 0 / 0.523 GB, free: 6.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002783/0.3787, allocations: 124.7 kB / 0.5231 GB, free: 6.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.3788, allocations: 61.48 kB / 0.5232 GB, free: 6.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.3791, allocations: 186.6 kB / 0.5234 GB, free: 6.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.3791, allocations: 30.7 kB / 0.5234 GB, free: 6.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.3792, allocations: 104.1 kB / 0.5235 GB, free: 6.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.3792, allocations: 20.34 kB / 0.5235 GB, free: 6.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.3792, allocations: 26.62 kB / 0.5235 GB, free: 6.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.3793, allocations: 324.3 kB / 0.5238 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.3794, allocations: 36.64 kB / 0.5239 GB, free: 6.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.933e-05/0.3794, allocations: 28.64 kB / 0.5239 GB, free: 6.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.3795, allocations: 68.16 kB / 0.524 GB, free: 6.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3795, allocations: 256 / 0.524 GB, free: 6.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001625/0.3797, allocations: 113.4 kB / 0.5241 GB, free: 6.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3797, allocations: 5.516 kB / 0.5241 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.3797, allocations: 4 kB / 0.5241 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3797, allocations: 1.031 kB / 0.5241 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.3799, allocations: 24.25 kB / 0.5241 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3799, allocations: 0 / 0.5241 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.3801, allocations: 21.16 kB / 0.5241 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3801, allocations: 1.25 kB / 0.5241 GB, free: 5.996 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 (8): * Single equations (assignments): 8 * 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 6.412e-05/0.3801, allocations: 123.6 kB / 0.5242 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.3802, allocations: 8.281 kB / 0.5243 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.3802, allocations: 17.61 kB / 0.5243 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3802, allocations: 0.7969 kB / 0.5243 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3802, allocations: 1.375 kB / 0.5243 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3802, allocations: 4 kB / 0.5243 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.3806, allocations: 378.9 kB / 0.5246 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3806, allocations: 0 / 0.5246 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.3807, allocations: 11.44 kB / 0.5246 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3807, allocations: 0.7031 kB / 0.5246 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3808, allocations: 1.25 kB / 0.5246 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3808, allocations: 2.062 kB / 0.5247 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3808, allocations: 3.938 kB / 0.5247 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.381, allocations: 237.5 kB / 0.5249 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.381, allocations: 9.281 kB / 0.5249 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.381, allocations: 1.922 kB / 0.5249 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.3812, allocations: 17.86 kB / 0.5249 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.3812, allocations: 8.625 kB / 0.5249 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.3812, allocations: 5.25 kB / 0.5249 GB, free: 5.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.3815, allocations: 157.6 kB / 0.5251 GB, free: 5.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3815, allocations: 0 / 0.5251 GB, free: 5.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000231/0.3817, allocations: 12.34 kB / 0.5251 GB, free: 5.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 (6): * Single equations (assignments): 6 * 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.876e-05/0.3818, allocations: 95.33 kB / 0.5252 GB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.382, allocations: 75.55 kB / 0.5252 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.382, allocations: 5.219 kB / 0.5253 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.214e-05/0.382, allocations: 31.47 kB / 0.5253 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.3823, allocations: 16.89 kB / 0.5253 GB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.3828, allocations: 281 kB / 0.5256 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.3829, allocations: 0.7023 MB / 0.5263 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.383, allocations: 19.03 kB / 0.5263 GB, free: 4.199 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.383, allocations: 0 / 0.5263 GB, free: 4.199 MB / 382.1 MB Notification: Performance of Templates: time 0.003221/0.3862, allocations: 1.317 MB / 0.5276 GB, free: 4.109 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessBlocks.SOPDT_overdamped.makefile [Timeout 660] (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & ./AES_AES.ProcessBlocks.SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.041139065055177] Failed to read output from testmodel.py, exit status != 0: 0.3948873260524124 0.408450898 0.029375658000000002 Calling exit ...