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.00127/0.00127, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001403/0.001403, allocations: 214 kB / 23 MB, free: 4.977 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.12 MB / 337.3 MB, free: 11.25 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.002071/0.002071, allocations: 71.89 kB / 475.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.299, allocations: 59.6 MB / 0.5223 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz2): time 0.002918/0.302, allocations: 1.785 MB / 0.5241 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009304/0.3029, allocations: 0.502 MB / 0.5245 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.303, allocations: 2.469 kB / 0.5246 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.395e-05/0.303, allocations: 13.73 kB / 0.5246 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.3033, allocations: 26.33 kB / 0.5246 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.3035, allocations: 67.83 kB / 0.5247 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.3037, allocations: 126 kB / 0.5248 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.3038, allocations: 35.27 kB / 0.5248 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.671e-05/0.3039, allocations: 51.75 kB / 0.5249 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.718e-05/0.304, allocations: 53.2 kB / 0.5249 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.304, allocations: 8.812 kB / 0.5249 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.233e-05/0.304, allocations: 13.25 kB / 0.5249 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.3041, allocations: 29.56 kB / 0.525 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.3041, allocations: 42.56 kB / 0.525 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.3043, allocations: 111.9 kB / 0.5251 GB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3043, allocations: 1.75 kB / 0.5251 GB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3043, allocations: 4 kB / 0.5251 GB, free: 8.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3043, allocations: 0 / 0.5251 GB, free: 8.977 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.0005692/0.3049, allocations: 362.5 kB / 0.5255 GB, free: 8.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3049, allocations: 9.688 kB / 0.5255 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.305, allocations: 20.59 kB / 0.5255 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.3052, allocations: 155.5 kB / 0.5256 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3052, allocations: 5 kB / 0.5256 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.3052, allocations: 14.41 kB / 0.5257 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.3056, allocations: 163.5 kB / 0.5258 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3056, allocations: 0 / 0.5258 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3056, allocations: 5.828 kB / 0.5258 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3056, allocations: 2.531 kB / 0.5258 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.3059, allocations: 86.39 kB / 0.5259 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/0.3067, allocations: 416 kB / 0.5263 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.3071, allocations: 135.8 kB / 0.5264 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.3073, allocations: 54.19 kB / 0.5265 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.3073, allocations: 1.703 kB / 0.5265 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3073, allocations: 32.75 kB / 0.5265 GB, free: 7.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.3073, allocations: 0 / 0.5265 GB, free: 7.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006077/0.3079, allocations: 165.7 kB / 0.5267 GB, free: 7.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.308, allocations: 78.17 kB / 0.5267 GB, free: 7.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.3081, allocations: 151.3 kB / 0.5269 GB, free: 7.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.3081, allocations: 30.83 kB / 0.5269 GB, free: 7.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.3082, allocations: 118.6 kB / 0.527 GB, free: 7.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.3082, allocations: 43.53 kB / 0.5271 GB, free: 7.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.531e-05/0.3083, allocations: 26.61 kB / 0.5271 GB, free: 7.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.3084, allocations: 329.7 kB / 0.5274 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3085, allocations: 46.56 kB / 0.5275 GB, free: 7.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.3087, allocations: 88.12 kB / 0.5275 GB, free: 7.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008461/0.3095, allocations: 222.3 kB / 0.5277 GB, free: 6.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3095, allocations: 1.344 kB / 0.5278 GB, free: 6.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000344/0.3099, allocations: 155.7 kB / 0.5279 GB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3099, allocations: 7.891 kB / 0.5279 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3099, allocations: 1.062 kB / 0.5279 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3099, allocations: 1.281 kB / 0.5279 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.3101, allocations: 29.81 kB / 0.5279 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3101, allocations: 13.06 kB / 0.5279 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.3102, allocations: 21.28 kB / 0.528 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.3102, allocations: 9.109 kB / 0.528 GB, free: 6.848 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.0001847/0.3104, allocations: 119.8 kB / 0.5281 GB, free: 6.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.114e-05/0.3105, allocations: 81.64 kB / 0.5282 GB, free: 6.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005109/0.311, allocations: 187.7 kB / 0.5283 GB, free: 6.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.103e-06/0.311, allocations: 0 / 0.5283 GB, free: 6.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization_lambda0): time 0.0002352/0.3113, allocations: 133.6 kB / 0.5285 GB, free: 6.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.535e-06/0.3113, allocations: 4.438 kB / 0.5285 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-06/0.3113, allocations: 1.188 kB / 0.5285 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-06/0.3113, allocations: 1.344 kB / 0.5285 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3114, allocations: 27.73 kB / 0.5285 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.3114, allocations: 5.766 kB / 0.5285 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.483e-05/0.3115, allocations: 19.55 kB / 0.5285 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.3115, allocations: 2.375 kB / 0.5285 GB, free: 6.516 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 7.603e-05/0.3116, allocations: 196.9 kB / 0.5287 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.3116, allocations: 10.58 kB / 0.5287 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.312, allocations: 141.5 kB / 0.5289 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.312, allocations: 3.984 kB / 0.5289 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.312, allocations: 1.812 kB / 0.5289 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.312, allocations: 16.09 kB / 0.5289 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.312, allocations: 4.781 kB / 0.5289 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.3122, allocations: 14.58 kB / 0.5289 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.3122, allocations: 10.16 kB / 0.5289 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005343/0.3127, allocations: 232.9 kB / 0.5291 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004811/0.3132, allocations: 364.5 kB / 0.5295 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001388/0.3134, allocations: 48.69 kB / 0.5295 GB, free: 5.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.719e-05/0.3134, allocations: 112.4 kB / 0.5296 GB, free: 5.727 MB / 382.1 MB Notification: Performance of Backend: time 3.51e-07/0.3134, allocations: 1.312 kB / 0.5296 GB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.314, allocations: 188.1 kB / 0.5298 GB, free: 5.625 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005949/0.3146, allocations: 0.7496 MB / 0.5306 GB, free: 4.938 MB / 382.1 MB Notification: Performance of Templates: time 0.03161/0.3462, allocations: 2.53 MB / 0.533 GB, free: 4.672 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.6029610999976285] Failed to read output from testmodel.py, exit status != 0: 0.35429119400214404 0.36658264 0.05938299700000001 Calling exit ...