Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_001.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.00152/0.00152, allocations: 113 kB / 18.94 MB, free: 2.934 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.001946/0.001946, allocations: 210.2 kB / 22.25 MB, free: 5.086 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 8.031 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.1689/0.1689, allocations: 24.12 MB / 336.6 MB, free: 11.44 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_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",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.003456/0.003456, allocations: 71.89 kB / 473.3 MB, free: 6.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3503, allocations: 59.6 MB / 0.5204 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.002744/0.353, allocations: 1.73 MB / 0.5221 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002221/0.3533, allocations: 54.75 kB / 0.5222 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.026e-05/0.3533, allocations: 2.594 kB / 0.5222 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.36e-05/0.3534, allocations: 10.55 kB / 0.5222 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.3535, allocations: 26.02 kB / 0.5222 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.109e-05/0.3536, allocations: 20.08 kB / 0.5222 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.3537, allocations: 79.59 kB / 0.5223 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.3538, allocations: 23.06 kB / 0.5223 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.549e-05/0.3539, allocations: 31.98 kB / 0.5223 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.354, allocations: 37.11 kB / 0.5224 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.354, allocations: 10.33 kB / 0.5224 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.985e-05/0.354, allocations: 6.375 kB / 0.5224 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.3541, allocations: 13.11 kB / 0.5224 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.3541, allocations: 39.48 kB / 0.5224 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.3543, allocations: 83.17 kB / 0.5225 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3543, allocations: 0 / 0.5225 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3543, allocations: 0.6562 kB / 0.5225 GB, free: 8.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3543, allocations: 7.938 kB / 0.5225 GB, free: 8.664 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.0004254/0.3547, allocations: 306.3 kB / 0.5228 GB, free: 8.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.3547, allocations: 10.73 kB / 0.5228 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.358e-05/0.3548, allocations: 39 kB / 0.5229 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.3548, allocations: 10.86 kB / 0.5229 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.083e-05/0.3549, allocations: 114.4 kB / 0.523 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3549, allocations: 8.484 kB / 0.523 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.3549, allocations: 10.84 kB / 0.523 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.3551, allocations: 95.89 kB / 0.5231 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3552, allocations: 1.5 kB / 0.5231 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3552, allocations: 4 kB / 0.5231 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3552, allocations: 2.875 kB / 0.5231 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.3553, allocations: 45.56 kB / 0.5232 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.3558, allocations: 416.1 kB / 0.5236 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3559, allocations: 57.28 kB / 0.5236 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.356, allocations: 21.92 kB / 0.5236 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.356, allocations: 1.609 kB / 0.5236 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.356, allocations: 35.56 kB / 0.5237 GB, free: 7.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.356, allocations: 1.125 kB / 0.5237 GB, free: 7.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001847/0.3562, allocations: 72.55 kB / 0.5237 GB, free: 7.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.3562, allocations: 56.31 kB / 0.5238 GB, free: 7.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.086e-05/0.3563, allocations: 113.1 kB / 0.5239 GB, free: 7.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.3563, allocations: 30.67 kB / 0.5239 GB, free: 7.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.3563, allocations: 112.5 kB / 0.524 GB, free: 7.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.3563, allocations: 23.61 kB / 0.5241 GB, free: 7.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.3564, allocations: 21.97 kB / 0.5241 GB, free: 7.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.454e-05/0.3564, allocations: 314.2 kB / 0.5244 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.28e-05/0.3565, allocations: 17.3 kB / 0.5244 GB, free: 6.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.425e-05/0.3565, allocations: 40.81 kB / 0.5244 GB, free: 6.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.57e-05/0.3566, allocations: 51.08 kB / 0.5245 GB, free: 6.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3566, allocations: 0 / 0.5245 GB, free: 6.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001124/0.3567, allocations: 86.08 kB / 0.5246 GB, free: 6.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3567, allocations: 7.969 kB / 0.5246 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3567, allocations: 1.125 kB / 0.5246 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3567, allocations: 5.766 kB / 0.5246 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3568, allocations: 24.52 kB / 0.5246 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3568, allocations: 1.828 kB / 0.5246 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.846e-05/0.3569, allocations: 5.469 kB / 0.5246 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3569, allocations: 4.078 kB / 0.5246 GB, free: 6.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 5.138e-05/0.3569, allocations: 117.1 kB / 0.5247 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.357, allocations: 6.781 kB / 0.5247 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.3571, allocations: 84.45 kB / 0.5248 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3571, allocations: 9.062 kB / 0.5248 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.3571, allocations: 0 / 0.5248 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3571, allocations: 0.5625 kB / 0.5248 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.3573, allocations: 157.6 kB / 0.525 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3573, allocations: 1.859 kB / 0.525 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.592e-05/0.3573, allocations: 13.05 kB / 0.525 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3573, allocations: 0 / 0.525 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3573, allocations: 5.062 kB / 0.525 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3573, allocations: 5.734 kB / 0.525 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3573, allocations: 0 / 0.525 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.3574, allocations: 169.6 kB / 0.5252 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.3575, allocations: 2.25 kB / 0.5252 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.3575, allocations: 1.812 kB / 0.5252 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.843e-05/0.3575, allocations: 7.938 kB / 0.5252 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.3575, allocations: 5.016 kB / 0.5252 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3575, allocations: 1.188 kB / 0.5252 GB, free: 6.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.639e-05/0.3576, allocations: 91.12 kB / 0.5253 GB, free: 6.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3576, allocations: 0 / 0.5253 GB, free: 6.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.3578, allocations: 25.05 kB / 0.5253 GB, free: 6.129 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 (7): * Single equations (assignments): 7 * 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.0002476/0.3581, allocations: 0.6996 MB / 0.526 GB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.3582, allocations: 35.31 kB / 0.526 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3582, allocations: 1.344 kB / 0.526 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.951e-05/0.3582, allocations: 20.55 kB / 0.526 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3585, allocations: 16.12 kB / 0.526 GB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.359, allocations: 212.4 kB / 0.5262 GB, free: 5.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.3591, allocations: 0.6913 MB / 0.5269 GB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.537e-05/0.3591, allocations: 8.234 kB / 0.5269 GB, free: 4.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.3592, allocations: 24.36 kB / 0.5269 GB, free: 4.508 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3592, allocations: 1.312 kB / 0.5269 GB, free: 4.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.3852, allocations: 1.658 MB / 0.5286 GB, free: 4.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.42, allocations: 8 kB / 0.5286 GB, free: 4.098 MB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_HP_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_HP_001_fmu --startTime=0 --stopTime=10000 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_HP_001.fmu > AES_AES.Devel_test_models.Test_HP_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.340194646036252] Failed to read output from testmodel.py, exit status != 0: 11.529862616909668 11.557523928 11.197127393 Calling exit ...