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.002004/0.002004, allocations: 104 kB / 16.45 MB, free: 6.449 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.002405/0.002405, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1047/0.1047, allocations: 24.11 MB / 332.9 MB, free: 12.61 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.002331/0.002331, allocations: 67.91 kB / 469.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3507, allocations: 59.57 MB / 0.5162 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz2): time 0.002735/0.3534, allocations: 1.826 MB / 0.518 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008403/0.3542, allocations: 0.5363 MB / 0.5185 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.904e-05/0.3543, allocations: 6.219 kB / 0.5185 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.317e-05/0.3544, allocations: 14.64 kB / 0.5186 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.3545, allocations: 29.52 kB / 0.5186 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.3547, allocations: 66.48 kB / 0.5187 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.3549, allocations: 133.2 kB / 0.5188 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3551, allocations: 29.3 kB / 0.5188 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/0.3551, allocations: 48.89 kB / 0.5189 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.3552, allocations: 57.53 kB / 0.5189 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.3553, allocations: 9.094 kB / 0.5189 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.085e-05/0.3553, allocations: 13.34 kB / 0.5189 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.3553, allocations: 25.16 kB / 0.519 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.3554, allocations: 51.12 kB / 0.519 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.3555, allocations: 115.1 kB / 0.5191 GB, free: 8.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3556, allocations: 1.312 kB / 0.5191 GB, free: 8.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3556, allocations: 0 / 0.5191 GB, free: 8.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3556, allocations: 0 / 0.5191 GB, free: 8.434 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.0005606/0.3561, allocations: 443.7 kB / 0.5195 GB, free: 8.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3562, allocations: 10.75 kB / 0.5195 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.3562, allocations: 16.2 kB / 0.5196 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.3565, allocations: 215.5 kB / 0.5198 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.3565, allocations: 8 kB / 0.5198 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.3565, allocations: 11.98 kB / 0.5198 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.3568, allocations: 139.2 kB / 0.5199 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3568, allocations: 0 / 0.5199 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.3569, allocations: 8.828 kB / 0.5199 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.3569, allocations: 6.344 kB / 0.5199 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.3571, allocations: 86.56 kB / 0.52 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.3579, allocations: 495.4 kB / 0.5205 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.3584, allocations: 135.3 kB / 0.5206 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.3585, allocations: 46.92 kB / 0.5207 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.3585, allocations: 1.312 kB / 0.5207 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3586, allocations: 36.39 kB / 0.5207 GB, free: 7.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3586, allocations: 3.938 kB / 0.5207 GB, free: 7.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005455/0.3591, allocations: 164 kB / 0.5209 GB, free: 7.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.3592, allocations: 79.3 kB / 0.5209 GB, free: 6.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.3593, allocations: 155 kB / 0.5211 GB, free: 6.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.3593, allocations: 26.8 kB / 0.5211 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.3594, allocations: 114.2 kB / 0.5212 GB, free: 6.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.3594, allocations: 39.94 kB / 0.5213 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.3594, allocations: 34.06 kB / 0.5213 GB, free: 6.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.3595, allocations: 325.3 kB / 0.5216 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.3597, allocations: 46.34 kB / 0.5216 GB, free: 6.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.3598, allocations: 65.61 kB / 0.5217 GB, free: 6.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008676/0.3607, allocations: 219 kB / 0.5219 GB, free: 6.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3607, allocations: 1.281 kB / 0.5219 GB, free: 6.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003625/0.361, allocations: 155.9 kB / 0.5221 GB, free: 6.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3611, allocations: 4.406 kB / 0.5221 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3611, allocations: 0.9688 kB / 0.5221 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3611, allocations: 1.828 kB / 0.5221 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.3613, allocations: 36.89 kB / 0.5221 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3613, allocations: 9.875 kB / 0.5221 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3614, allocations: 17.27 kB / 0.5221 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3614, allocations: 4.016 kB / 0.5221 GB, free: 6.133 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.0001854/0.3616, allocations: 136 kB / 0.5223 GB, free: 6.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.148e-05/0.3617, allocations: 56.48 kB / 0.5223 GB, free: 5.984 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005307/0.3622, allocations: 171.2 kB / 0.5225 GB, free: 5.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.92e-07/0.3622, allocations: 4.031 kB / 0.5225 GB, free: 5.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization_lambda0): time 0.0002453/0.3625, allocations: 137.9 kB / 0.5226 GB, free: 5.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.3625, allocations: 6.188 kB / 0.5226 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-06/0.3625, allocations: 0 / 0.5226 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-06/0.3625, allocations: 1.25 kB / 0.5226 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3626, allocations: 28.62 kB / 0.5227 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.3626, allocations: 1.062 kB / 0.5227 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.3627, allocations: 17.73 kB / 0.5227 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.3627, allocations: 7.5 kB / 0.5227 GB, free: 5.824 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.581e-05/0.3628, allocations: 198.2 kB / 0.5229 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.3628, allocations: 9.484 kB / 0.5229 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/0.3632, allocations: 146.5 kB / 0.523 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3632, allocations: 1.094 kB / 0.523 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.3632, allocations: 3.938 kB / 0.523 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3632, allocations: 0 / 0.523 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.3634, allocations: 233.7 kB / 0.5232 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3634, allocations: 0 / 0.5232 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.3635, allocations: 21.53 kB / 0.5233 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3635, allocations: 96 / 0.5233 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3636, allocations: 9.281 kB / 0.5233 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3636, allocations: 5.312 kB / 0.5233 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3636, allocations: 3.938 kB / 0.5233 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.3641, allocations: 274.1 kB / 0.5235 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.3641, allocations: 88.25 kB / 0.5236 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.3641, allocations: 3.734 kB / 0.5236 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.3642, allocations: 10.7 kB / 0.5236 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.3643, allocations: 14.48 kB / 0.5237 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3643, allocations: 2.25 kB / 0.5237 GB, free: 5.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.036e-05/0.3643, allocations: 110.6 kB / 0.5238 GB, free: 4.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3643, allocations: 0 / 0.5238 GB, free: 4.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000308/0.3647, allocations: 43.45 kB / 0.5238 GB, free: 4.934 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 0.0001074/0.3648, allocations: 104.2 kB / 0.5239 GB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00046/0.3652, allocations: 150.1 kB / 0.524 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3652, allocations: 0 / 0.524 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.3654, allocations: 53.89 kB / 0.5241 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.3657, allocations: 36.84 kB / 0.5241 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008442/0.3666, allocations: 350.3 kB / 0.5245 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.3668, allocations: 0.7101 MB / 0.5252 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.918e-05/0.3669, allocations: 15.34 kB / 0.5252 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.3669, allocations: 14.94 kB / 0.5252 GB, free: 3.84 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3669, allocations: 0 / 0.5252 GB, free: 3.84 MB / 382.1 MB Notification: Performance of Templates: time 0.005118/0.372, allocations: 1.567 MB / 0.5267 GB, free: 3.715 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.669139900011942] Failed to read output from testmodel.py, exit status != 0: 0.380988507065922 0.39317040799999997 0.034685418 Calling exit ...