Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.dz.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.001756/0.001756, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002155/0.002155, allocations: 218.5 kB / 22.25 MB, free: 5.105 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.801 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.1122/0.1122, allocations: 24.13 MB / 336.6 MB, free: 11.23 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.dz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.dz") translateModel(AES.Devel_test_models.dz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.dz") [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.002285/0.002285, allocations: 75.89 kB / 474.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3401, allocations: 59.61 MB / 0.5216 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz): time 0.002832/0.3429, allocations: 1.884 MB / 0.5234 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000482/0.3434, allocations: 216.3 kB / 0.5236 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.3435, allocations: 2.625 kB / 0.5236 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.011e-05/0.3435, allocations: 19.83 kB / 0.5236 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.3437, allocations: 36.94 kB / 0.5237 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.3439, allocations: 101.3 kB / 0.5238 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.3442, allocations: 182.6 kB / 0.524 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.3443, allocations: 60 kB / 0.524 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.49e-05/0.3444, allocations: 60.36 kB / 0.5241 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.7e-05/0.3445, allocations: 79.06 kB / 0.5241 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.3445, allocations: 15.41 kB / 0.5242 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.297e-05/0.3445, allocations: 15.84 kB / 0.5242 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.3446, allocations: 34.39 kB / 0.5242 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.3446, allocations: 60.08 kB / 0.5243 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.3448, allocations: 174.8 kB / 0.5244 GB, free: 8.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3448, allocations: 1.859 kB / 0.5244 GB, free: 8.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3448, allocations: 0 / 0.5244 GB, free: 8.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3448, allocations: 0 / 0.5244 GB, free: 8.898 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005912/0.3454, allocations: 404.2 kB / 0.5248 GB, free: 8.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3455, allocations: 10.8 kB / 0.5248 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.3455, allocations: 19.28 kB / 0.5248 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.3458, allocations: 185.5 kB / 0.525 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.3458, allocations: 9.75 kB / 0.525 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.3458, allocations: 16.69 kB / 0.525 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.3462, allocations: 192.5 kB / 0.5252 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3462, allocations: 4.875 kB / 0.5252 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.3462, allocations: 9 kB / 0.5252 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3462, allocations: 8.281 kB / 0.5252 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.3465, allocations: 111.2 kB / 0.5254 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008346/0.3474, allocations: 486.3 kB / 0.5258 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005642/0.3479, allocations: 175.8 kB / 0.526 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.3481, allocations: 53.98 kB / 0.526 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.3481, allocations: 6.891 kB / 0.526 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.3481, allocations: 32.72 kB / 0.5261 GB, free: 7.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3481, allocations: 0 / 0.5261 GB, free: 7.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.000553/0.3487, allocations: 212.1 kB / 0.5263 GB, free: 7.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.3487, allocations: 78.33 kB / 0.5264 GB, free: 7.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3488, allocations: 177.4 kB / 0.5265 GB, free: 7.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3489, allocations: 26.92 kB / 0.5265 GB, free: 7.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.3489, allocations: 130 kB / 0.5267 GB, free: 7.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.3489, allocations: 43.73 kB / 0.5267 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.349, allocations: 31.66 kB / 0.5267 GB, free: 7.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.28e-05/0.3491, allocations: 324.1 kB / 0.5271 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.3492, allocations: 56.86 kB / 0.5271 GB, free: 6.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.3494, allocations: 111.1 kB / 0.5272 GB, free: 6.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009188/0.3503, allocations: 259.9 kB / 0.5275 GB, free: 6.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3503, allocations: 0 / 0.5275 GB, free: 6.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003726/0.3507, allocations: 176.2 kB / 0.5276 GB, free: 6.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3507, allocations: 9.312 kB / 0.5276 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3507, allocations: 1.156 kB / 0.5276 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.3507, allocations: 6.344 kB / 0.5276 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.3509, allocations: 46.94 kB / 0.5277 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3509, allocations: 1 kB / 0.5277 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.351, allocations: 10.25 kB / 0.5277 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.351, allocations: 4.375 kB / 0.5277 GB, free: 6.602 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 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 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002119/0.3512, allocations: 144.6 kB / 0.5278 GB, free: 6.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001162/0.3514, allocations: 95.14 kB / 0.5279 GB, free: 6.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007174/0.3521, allocations: 225.8 kB / 0.5281 GB, free: 6.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.3521, allocations: 5.172 kB / 0.5282 GB, free: 6.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002909/0.3524, allocations: 149.1 kB / 0.5283 GB, free: 6.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.3524, allocations: 9.188 kB / 0.5283 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.3524, allocations: 1.797 kB / 0.5283 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.12e-06/0.3524, allocations: 5.125 kB / 0.5283 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.3525, allocations: 29.5 kB / 0.5283 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.3525, allocations: 4.969 kB / 0.5283 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.945e-05/0.3526, allocations: 21.36 kB / 0.5284 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3527, allocations: 7.344 kB / 0.5284 GB, free: 6.238 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 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 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 (16): * Single equations (assignments): 16 * 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 9.218e-05/0.3527, allocations: 191.1 kB / 0.5286 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.3528, allocations: 19.84 kB / 0.5286 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004018/0.3532, allocations: 164.2 kB / 0.5287 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3532, allocations: 6.172 kB / 0.5287 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3532, allocations: 0 / 0.5287 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3532, allocations: 1.375 kB / 0.5287 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.3534, allocations: 175.4 kB / 0.5289 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3534, allocations: 1.25 kB / 0.5289 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.3536, allocations: 31.09 kB / 0.5289 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3536, allocations: 1.375 kB / 0.5289 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.3536, allocations: 9.031 kB / 0.5289 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3536, allocations: 5.953 kB / 0.529 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3536, allocations: 0 / 0.529 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.3542, allocations: 316.3 kB / 0.5293 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.3542, allocations: 13.14 kB / 0.5293 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.3542, allocations: 10.44 kB / 0.5293 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.3544, allocations: 14.81 kB / 0.5293 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.3544, allocations: 9.891 kB / 0.5293 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.3544, allocations: 3 kB / 0.5293 GB, free: 5.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.902e-05/0.3545, allocations: 127 kB / 0.5294 GB, free: 5.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3545, allocations: 1.156 kB / 0.5294 GB, free: 5.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003467/0.3548, allocations: 53.03 kB / 0.5295 GB, free: 5.469 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (C.FO.y,Aplus.y,Aminus.y,P.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 (11): * Single equations (assignments): 11 * 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.817e-05/0.3549, allocations: 105.4 kB / 0.5296 GB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005177/0.3554, allocations: 188.3 kB / 0.5298 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3554, allocations: 1.094 kB / 0.5298 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.3556, allocations: 62.14 kB / 0.5298 GB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.356, allocations: 40.97 kB / 0.5299 GB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009189/0.3569, allocations: 408.1 kB / 0.5302 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.357, allocations: 111.5 kB / 0.5303 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.125e-05/0.3571, allocations: 15.67 kB / 0.5304 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.3572, allocations: 15.58 kB / 0.5304 GB, free: 4.945 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3572, allocations: 0 / 0.5304 GB, free: 4.945 MB / 382.1 MB Notification: Performance of Templates: time 0.006143/0.3633, allocations: 1.957 MB / 0.5323 GB, free: 4.73 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.dz.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.dz.pipe ; mkfifo AES_AES.Devel_test_models.dz.pipe ; head -c 1048576 < AES_AES.Devel_test_models.dz.pipe >> ../files/AES_AES.Devel_test_models.dz.sim & ./AES_AES.Devel_test_models.dz -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.dz.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.847165804821998] Failed to read output from testmodel.py, exit status != 0: 0.3722041822038591 0.38497707000000003 0.03694734 Calling exit ...