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.001393/0.001393, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002077/0.002077, allocations: 213.8 kB / 23.01 MB, free: 4.992 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.614/1.614, allocations: 230.6 MB / 256.8 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.1121/0.1121, allocations: 24.03 MB / 337.2 MB, free: 11.34 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.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.003236/0.003236, allocations: 63.89 kB / 475.1 MB, free: 5.098 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3813, allocations: 59.57 MB / 0.5222 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz2): time 0.00325/0.3846, allocations: 1.779 MB / 0.5239 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009114/0.3855, allocations: 0.5025 MB / 0.5244 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.823e-05/0.3856, allocations: 1.219 kB / 0.5244 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.234e-05/0.3856, allocations: 15.67 kB / 0.5244 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.3859, allocations: 29.84 kB / 0.5244 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.3861, allocations: 73.92 kB / 0.5245 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.3863, allocations: 120.3 kB / 0.5246 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.3865, allocations: 34.8 kB / 0.5246 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.019e-05/0.3866, allocations: 48.5 kB / 0.5247 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.3867, allocations: 47.31 kB / 0.5247 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.3867, allocations: 9.594 kB / 0.5247 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.782e-05/0.3868, allocations: 9.25 kB / 0.5248 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.3868, allocations: 36.88 kB / 0.5248 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.3869, allocations: 43.58 kB / 0.5248 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.3871, allocations: 108.9 kB / 0.5249 GB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3871, allocations: 0 / 0.5249 GB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3871, allocations: 0 / 0.5249 GB, free: 9.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.3871, allocations: 0 / 0.5249 GB, free: 9.012 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.0006595/0.3878, allocations: 363.6 kB / 0.5253 GB, free: 8.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.3878, allocations: 11.25 kB / 0.5253 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.3879, allocations: 20.06 kB / 0.5253 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.3882, allocations: 159.2 kB / 0.5255 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.3882, allocations: 9.828 kB / 0.5255 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.3882, allocations: 5.844 kB / 0.5255 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.3886, allocations: 160.6 kB / 0.5256 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3886, allocations: 0 / 0.5256 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.3886, allocations: 5.188 kB / 0.5256 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.3886, allocations: 2.219 kB / 0.5256 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.3889, allocations: 86.25 kB / 0.5257 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008316/0.3898, allocations: 417.2 kB / 0.5261 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.3902, allocations: 135.2 kB / 0.5262 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.3903, allocations: 45.45 kB / 0.5263 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.3903, allocations: 2.938 kB / 0.5263 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.3904, allocations: 36.23 kB / 0.5263 GB, free: 7.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3904, allocations: 0 / 0.5263 GB, free: 7.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000547/0.3909, allocations: 168 kB / 0.5265 GB, free: 7.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.391, allocations: 79.88 kB / 0.5266 GB, free: 7.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.3911, allocations: 154.6 kB / 0.5267 GB, free: 7.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.3911, allocations: 27.42 kB / 0.5267 GB, free: 7.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.3912, allocations: 118.9 kB / 0.5269 GB, free: 7.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.3912, allocations: 43.81 kB / 0.5269 GB, free: 7.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.3913, allocations: 30.17 kB / 0.5269 GB, free: 7.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.3913, allocations: 325.1 kB / 0.5272 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.3915, allocations: 50.7 kB / 0.5273 GB, free: 7.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.3916, allocations: 96.03 kB / 0.5274 GB, free: 7.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008237/0.3924, allocations: 219.8 kB / 0.5276 GB, free: 6.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3925, allocations: 0 / 0.5276 GB, free: 6.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003399/0.3928, allocations: 149.2 kB / 0.5277 GB, free: 6.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3928, allocations: 8.812 kB / 0.5277 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3928, allocations: 1.906 kB / 0.5277 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3928, allocations: 1.25 kB / 0.5277 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.393, allocations: 31.86 kB / 0.5278 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.393, allocations: 2.688 kB / 0.5278 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.98e-05/0.3931, allocations: 25.72 kB / 0.5278 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3931, allocations: 2.625 kB / 0.5278 GB, free: 6.883 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.0001785/0.3933, allocations: 131.6 kB / 0.5279 GB, free: 6.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.484e-05/0.3934, allocations: 82.97 kB / 0.528 GB, free: 6.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005261/0.3939, allocations: 183.8 kB / 0.5282 GB, free: 6.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.3939, allocations: 1.281 kB / 0.5282 GB, free: 6.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization_lambda0): time 0.0002293/0.3941, allocations: 131.4 kB / 0.5283 GB, free: 6.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.3942, allocations: 9.375 kB / 0.5283 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-06/0.3942, allocations: 0 / 0.5283 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-06/0.3942, allocations: 1.406 kB / 0.5283 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.3943, allocations: 24.31 kB / 0.5283 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.3943, allocations: 4.016 kB / 0.5283 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.3944, allocations: 20.45 kB / 0.5284 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3944, allocations: 3.438 kB / 0.5284 GB, free: 6.547 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.413e-05/0.3945, allocations: 197.6 kB / 0.5286 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.3945, allocations: 9.578 kB / 0.5286 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.3948, allocations: 144.8 kB / 0.5287 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3948, allocations: 2.938 kB / 0.5287 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3949, allocations: 0 / 0.5287 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3949, allocations: 5.031 kB / 0.5287 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.395, allocations: 153.2 kB / 0.5289 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.395, allocations: 0 / 0.5289 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.3952, allocations: 30.55 kB / 0.5289 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3952, allocations: 0 / 0.5289 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.3952, allocations: 3.281 kB / 0.5289 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3952, allocations: 4 kB / 0.5289 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3952, allocations: 0 / 0.5289 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004801/0.3957, allocations: 288.6 kB / 0.5292 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.3957, allocations: 11.03 kB / 0.5292 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.3957, allocations: 2.359 kB / 0.5292 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.3959, allocations: 15.66 kB / 0.5292 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.3959, allocations: 17.55 kB / 0.5292 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.3959, allocations: 2.031 kB / 0.5292 GB, free: 5.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.734e-05/0.396, allocations: 110.4 kB / 0.5293 GB, free: 5.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.396, allocations: 0 / 0.5293 GB, free: 5.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.3963, allocations: 51.48 kB / 0.5294 GB, free: 5.809 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 9.534e-05/0.3964, allocations: 94.66 kB / 0.5295 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004627/0.3969, allocations: 158.3 kB / 0.5296 GB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3969, allocations: 1.031 kB / 0.5296 GB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.397, allocations: 46.64 kB / 0.5297 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3974, allocations: 28.09 kB / 0.5297 GB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007718/0.3981, allocations: 353 kB / 0.53 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.25e-05/0.3982, allocations: 101.5 kB / 0.5301 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.247e-05/0.3983, allocations: 14.38 kB / 0.5301 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.3983, allocations: 14.97 kB / 0.5301 GB, free: 5.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3983, allocations: 0 / 0.5301 GB, free: 5.34 MB / 382.1 MB Notification: Performance of Templates: time 0.005087/0.4034, allocations: 1.716 MB / 0.5318 GB, free: 5.152 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 -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.dz2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.190627912059426] Failed to read output from testmodel.py, exit status != 0: 0.414385300129652 0.42575107700000003 0.035182981 Calling exit ...