Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.dz2.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.001711/0.001711, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002118/0.002118, allocations: 222 kB / 22.25 MB, free: 5.254 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.789 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.1144/0.1144, allocations: 24.13 MB / 336.6 MB, free: 11.32 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Devel_test_models.dz2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.dz2") translateModel(AES.Devel_test_models.dz2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.dz2") [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.002968/0.002968, allocations: 68.12 kB / 474.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3552, allocations: 59.6 MB / 0.5216 GB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz2): time 0.003228/0.3584, allocations: 1.788 MB / 0.5233 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009978/0.3594, allocations: 0.4949 MB / 0.5238 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.3595, allocations: 2.375 kB / 0.5238 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.227e-05/0.3596, allocations: 18.3 kB / 0.5238 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.3598, allocations: 34.77 kB / 0.5239 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.36, allocations: 67.91 kB / 0.5239 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.3602, allocations: 123 kB / 0.524 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3603, allocations: 34.34 kB / 0.5241 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.237e-05/0.3604, allocations: 46.66 kB / 0.5241 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.3605, allocations: 63.59 kB / 0.5242 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.3605, allocations: 9.25 kB / 0.5242 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.254e-05/0.3606, allocations: 13.91 kB / 0.5242 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.3606, allocations: 20.08 kB / 0.5242 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.3606, allocations: 43.11 kB / 0.5243 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.3608, allocations: 117.2 kB / 0.5244 GB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3608, allocations: 0 / 0.5244 GB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3608, allocations: 1.031 kB / 0.5244 GB, free: 9.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3608, allocations: 0 / 0.5244 GB, free: 9.152 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005197/0.3613, allocations: 367.3 kB / 0.5247 GB, free: 8.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3614, allocations: 9.828 kB / 0.5247 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.3614, allocations: 20.62 kB / 0.5247 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.3616, allocations: 157.7 kB / 0.5249 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.3616, allocations: 9.406 kB / 0.5249 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.3617, allocations: 10.28 kB / 0.5249 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.362, allocations: 159.9 kB / 0.5251 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.362, allocations: 0 / 0.5251 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.362, allocations: 5.156 kB / 0.5251 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.362, allocations: 6.25 kB / 0.5251 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.3623, allocations: 93.55 kB / 0.5252 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.3629, allocations: 408 kB / 0.5256 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.3633, allocations: 134.9 kB / 0.5257 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.3635, allocations: 47.08 kB / 0.5257 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3635, allocations: 1.219 kB / 0.5257 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.3635, allocations: 41.17 kB / 0.5258 GB, free: 8.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3635, allocations: 0 / 0.5258 GB, free: 8.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005097/0.364, allocations: 164.6 kB / 0.5259 GB, free: 8.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.364, allocations: 83.23 kB / 0.526 GB, free: 7.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3641, allocations: 143.6 kB / 0.5261 GB, free: 7.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.3642, allocations: 30.64 kB / 0.5262 GB, free: 7.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.3642, allocations: 119.1 kB / 0.5263 GB, free: 7.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.3642, allocations: 43.05 kB / 0.5263 GB, free: 7.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.3643, allocations: 30.84 kB / 0.5264 GB, free: 7.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.3643, allocations: 325.7 kB / 0.5267 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.3645, allocations: 50.08 kB / 0.5267 GB, free: 7.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.3646, allocations: 88.59 kB / 0.5268 GB, free: 7.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008123/0.3654, allocations: 223.7 kB / 0.527 GB, free: 7.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3654, allocations: 0 / 0.527 GB, free: 7.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003597/0.3658, allocations: 160.6 kB / 0.5272 GB, free: 7.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3658, allocations: 6.25 kB / 0.5272 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3658, allocations: 0 / 0.5272 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3658, allocations: 1.375 kB / 0.5272 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.366, allocations: 28.84 kB / 0.5272 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.366, allocations: 5.812 kB / 0.5272 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.3661, allocations: 24.83 kB / 0.5272 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.3661, allocations: 8.922 kB / 0.5272 GB, free: 7.016 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: Aplus.y:VARIABLE(flow=false start = Aplus.y_start fixed = true ) \"Connector of Real output signal\" type: Real Aminus.y:VARIABLE(flow=false start = Aminus.y_start fixed = true ) \"Connector of Real output signal\" type: Real P.y:VARIABLE(flow=false start = P.y_start fixed = true ) \"Connector of Real output signal\" type: Real C.x:VARIABLE(start = C.x_start fixed = true ) \"State of block\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001754/0.3663, allocations: 124.3 kB / 0.5274 GB, free: 6.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.354e-05/0.3664, allocations: 85.09 kB / 0.5274 GB, free: 6.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005111/0.3669, allocations: 175.5 kB / 0.5276 GB, free: 6.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.3669, allocations: 0 / 0.5276 GB, free: 6.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization_lambda0): time 0.0002373/0.3671, allocations: 133.6 kB / 0.5277 GB, free: 6.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.3671, allocations: 5.156 kB / 0.5277 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.3671, allocations: 0 / 0.5277 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-06/0.3672, allocations: 2.156 kB / 0.5277 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3673, allocations: 31.73 kB / 0.5278 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.3673, allocations: 5.062 kB / 0.5278 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-05/0.3674, allocations: 15.14 kB / 0.5278 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3674, allocations: 3.312 kB / 0.5278 GB, free: 6.691 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: Aplus.y:VARIABLE(flow=false start = Aplus.y_start fixed = true ) \"Connector of Real output signal\" type: Real Aminus.y:VARIABLE(flow=false start = Aminus.y_start fixed = true ) \"Connector of Real output signal\" type: Real P.y:VARIABLE(flow=false start = P.y_start fixed = true ) \"Connector of Real output signal\" type: Real C.x:VARIABLE(start = C.x_start fixed = true ) \"State of block\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 15 * 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.128e-05/0.3674, allocations: 192.2 kB / 0.528 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3675, allocations: 10.36 kB / 0.528 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.3678, allocations: 146 kB / 0.5281 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.3678, allocations: 1.312 kB / 0.5281 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3678, allocations: 0 / 0.5281 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3679, allocations: 10.83 kB / 0.5281 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.368, allocations: 158.3 kB / 0.5283 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.368, allocations: 5.031 kB / 0.5283 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.3682, allocations: 20.89 kB / 0.5283 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3682, allocations: 3.938 kB / 0.5283 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.3682, allocations: 5.281 kB / 0.5283 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3682, allocations: 1.312 kB / 0.5283 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3682, allocations: 1.594 kB / 0.5283 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.3687, allocations: 285.1 kB / 0.5286 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.3687, allocations: 7.984 kB / 0.5286 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.3687, allocations: 9.609 kB / 0.5286 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.3689, allocations: 12.28 kB / 0.5286 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.3689, allocations: 7.141 kB / 0.5286 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.3689, allocations: 2.047 kB / 0.5286 GB, free: 6.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.126e-05/0.369, allocations: 116 kB / 0.5287 GB, free: 5.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.369, allocations: 1.031 kB / 0.5287 GB, free: 5.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.3693, allocations: 47.11 kB / 0.5288 GB, free: 5.961 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Aplus.y,Aminus.y,P.y,C.x) * 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 (10): * Single equations (assignments): 10 * 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.645e-05/0.3694, allocations: 99.62 kB / 0.5289 GB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004546/0.3698, allocations: 155.9 kB / 0.529 GB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3698, allocations: 0 / 0.529 GB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.37, allocations: 52.95 kB / 0.5291 GB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.3703, allocations: 28.05 kB / 0.5291 GB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007358/0.371, allocations: 357.3 kB / 0.5295 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.211e-05/0.3711, allocations: 101.4 kB / 0.5295 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.092e-05/0.3712, allocations: 16.08 kB / 0.5296 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.3712, allocations: 14 kB / 0.5296 GB, free: 5.48 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3712, allocations: 0 / 0.5296 GB, free: 5.48 MB / 382.1 MB Notification: Performance of Templates: time 0.005225/0.3765, allocations: 1.739 MB / 0.5313 GB, free: 5.301 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.dz2.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.dz2.pipe ; mkfifo AES_AES.Devel_test_models.dz2.pipe ; head -c 1048576 < AES_AES.Devel_test_models.dz2.pipe >> ../files/AES_AES.Devel_test_models.dz2.sim & ./AES_AES.Devel_test_models.dz2 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.dz2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.921236611902714] Failed to read output from testmodel.py, exit status != 0: 0.386474434286356 0.400807462 0.036447413000000005 Calling exit ...