Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_001a.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.001313/0.001313, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001498/0.001498, allocations: 209 kB / 23.01 MB, free: 4.621 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.452/1.452, allocations: 230.6 MB / 256.8 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.1093/0.1093, allocations: 24.05 MB / 337.2 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) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001a,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001a,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001a",fmuType="me",version="2.0",platforms={"static"}) [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.003289/0.003289, allocations: 63.91 kB / 474.6 MB, free: 5.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3504, allocations: 59.58 MB / 0.5217 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001a): time 0.002783/0.3532, allocations: 1.823 MB / 0.5235 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002416/0.3534, allocations: 93 kB / 0.5235 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.3535, allocations: 2.531 kB / 0.5236 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.007e-05/0.3536, allocations: 21.2 kB / 0.5236 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.3537, allocations: 33.8 kB / 0.5236 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.583e-05/0.3538, allocations: 22.91 kB / 0.5236 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.3539, allocations: 123.9 kB / 0.5237 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.354, allocations: 39.05 kB / 0.5238 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.248e-05/0.3541, allocations: 44.3 kB / 0.5238 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.3542, allocations: 42.05 kB / 0.5239 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.3542, allocations: 10.12 kB / 0.5239 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.261e-05/0.3542, allocations: 11.44 kB / 0.5239 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.3543, allocations: 30.59 kB / 0.5239 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.3543, allocations: 51.52 kB / 0.524 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.3545, allocations: 118.6 kB / 0.5241 GB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3545, allocations: 2.312 kB / 0.5241 GB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3545, allocations: 0 / 0.5241 GB, free: 9.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3545, allocations: 0 / 0.5241 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0003932/0.3549, allocations: 328.7 kB / 0.5244 GB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3549, allocations: 10.3 kB / 0.5244 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.3549, allocations: 45.73 kB / 0.5244 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.355, allocations: 18.73 kB / 0.5245 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.947e-05/0.355, allocations: 124.3 kB / 0.5246 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3551, allocations: 9.219 kB / 0.5246 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.3551, allocations: 12.41 kB / 0.5246 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3553, allocations: 111.1 kB / 0.5247 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3553, allocations: 3.938 kB / 0.5247 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3553, allocations: 5.062 kB / 0.5247 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3553, allocations: 3.188 kB / 0.5247 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.3554, allocations: 73.05 kB / 0.5248 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.356, allocations: 386.4 kB / 0.5252 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.3563, allocations: 135.6 kB / 0.5253 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/0.3563, allocations: 53.59 kB / 0.5253 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3564, allocations: 1.875 kB / 0.5253 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.3564, allocations: 35.69 kB / 0.5254 GB, free: 7.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.3564, allocations: 0 / 0.5254 GB, free: 7.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001052/0.3574, allocations: 303.6 kB / 0.5257 GB, free: 7.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.3575, allocations: 52.84 kB / 0.5257 GB, free: 7.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.273e-05/0.3575, allocations: 112.9 kB / 0.5258 GB, free: 7.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.3575, allocations: 31.33 kB / 0.5259 GB, free: 7.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.3576, allocations: 111.6 kB / 0.526 GB, free: 7.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.3576, allocations: 41.03 kB / 0.526 GB, free: 7.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.3576, allocations: 31.56 kB / 0.526 GB, free: 7.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.229e-05/0.3577, allocations: 315.5 kB / 0.5263 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.3577, allocations: 22 kB / 0.5263 GB, free: 7.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.125e-05/0.3578, allocations: 42.95 kB / 0.5264 GB, free: 7.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.285e-05/0.3578, allocations: 71.83 kB / 0.5265 GB, free: 7.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3578, allocations: 0.7031 kB / 0.5265 GB, free: 7.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003707/0.3582, allocations: 182.9 kB / 0.5266 GB, free: 7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3582, allocations: 9.938 kB / 0.5266 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.3582, allocations: 0 / 0.5266 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.3586, allocations: 88.64 kB / 0.5267 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.547e-05/0.3587, allocations: 15.11 kB / 0.5267 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.3605, allocations: 1.79 MB / 0.5285 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.3605, allocations: 10.2 kB / 0.5285 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.3605, allocations: 4.125 kB / 0.5285 GB, free: 5.398 MB / 382.1 MB 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 6.87e-05/0.3606, allocations: 122.5 kB / 0.5286 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.3606, allocations: 11.97 kB / 0.5286 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/0.3611, allocations: 197 kB / 0.5288 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3611, allocations: 1.375 kB / 0.5288 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.3611, allocations: 5.156 kB / 0.5288 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3611, allocations: 0.6094 kB / 0.5288 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006227/0.3617, allocations: 437.1 kB / 0.5292 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3617, allocations: 0.5156 kB / 0.5292 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.3618, allocations: 18.38 kB / 0.5293 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003087/0.3621, allocations: 95.14 kB / 0.5294 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3621, allocations: 1.125 kB / 0.5294 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.3636, allocations: 1.774 MB / 0.5311 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3636, allocations: 1.281 kB / 0.5311 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.364, allocations: 283.5 kB / 0.5314 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.364, allocations: 11.73 kB / 0.5314 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.364, allocations: 5.125 kB / 0.5314 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.271e-05/0.364, allocations: 1 kB / 0.5314 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.3641, allocations: 9.969 kB / 0.5314 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.3641, allocations: 10.34 kB / 0.5314 GB, free: 3.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.322e-05/0.3641, allocations: 81.86 kB / 0.5315 GB, free: 2.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3641, allocations: 0 / 0.5315 GB, free: 2.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003658/0.3645, allocations: 37.08 kB / 0.5315 GB, free: 2.934 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005248/0.365, allocations: 0.8163 MB / 0.5323 GB, free: 2.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.3653, allocations: 216 kB / 0.5325 GB, free: 2.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3653, allocations: 1.062 kB / 0.5325 GB, free: 2.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.3655, allocations: 181.6 kB / 0.5327 GB, free: 1.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.3657, allocations: 9.156 kB / 0.5327 GB, free: 1.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007587/0.3665, allocations: 331.8 kB / 0.533 GB, free: 1.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.287e-05/0.3666, allocations: 91.72 kB / 0.5331 GB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.561e-05/0.3666, allocations: 8.234 kB / 0.5331 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.3666, allocations: 24.2 kB / 0.5331 GB, free: 1.586 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3666, allocations: 1.156 kB / 0.5331 GB, free: 1.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.3981, allocations: 3.22 MB / 0.5363 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.34, allocations: 10.8 kB / 0.5363 GB, free: 0.625 MB / 382.1 MB " [Timeout remaining time 647] (rm -f AES_AES.Devel_test_models.Test_HP_001a.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001a.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001a.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001a.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_HP_001a_fmu --startTime=0 --stopTime=50 --stepSize=0.1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_HP_001a.fmu > AES_AES.Devel_test_models.Test_HP_001a.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.034883650951087] Failed to read output from testmodel.py, exit status != 0: 13.458043372258544 13.486620248 13.126836677 Calling exit ...