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.00131/0.00131, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001683/0.001683, allocations: 217.7 kB / 23.04 MB, free: 5.078 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.1032/0.1032, allocations: 22.93 MB / 336.2 MB, free: 12.59 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",fmuType="cs",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.002039/0.002039, allocations: 64.14 kB / 472.3 MB, free: 7.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3273, allocations: 59.28 MB / 0.5191 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.002805/0.3301, allocations: 1.73 MB / 0.5208 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002074/0.3303, allocations: 59.78 kB / 0.5208 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.3304, allocations: 3 kB / 0.5208 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.877e-05/0.3304, allocations: 12.11 kB / 0.5209 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.3306, allocations: 21.33 kB / 0.5209 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.347e-05/0.3306, allocations: 19.92 kB / 0.5209 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.3307, allocations: 80.17 kB / 0.521 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3308, allocations: 21.91 kB / 0.521 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.3309, allocations: 31.17 kB / 0.521 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/0.331, allocations: 37.38 kB / 0.5211 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.331, allocations: 7.25 kB / 0.5211 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.839e-05/0.331, allocations: 7.094 kB / 0.5211 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.331, allocations: 17.3 kB / 0.5211 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.3311, allocations: 38.83 kB / 0.5211 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.3312, allocations: 82.14 kB / 0.5212 GB, free: 9.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3312, allocations: 1.688 kB / 0.5212 GB, free: 9.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3312, allocations: 4 kB / 0.5212 GB, free: 9.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3312, allocations: 0 / 0.5212 GB, free: 9.293 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.000365/0.3316, allocations: 306.6 kB / 0.5215 GB, free: 8.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3316, allocations: 9.891 kB / 0.5215 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.85e-05/0.3317, allocations: 2.719 kB / 0.5215 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.847e-05/0.3317, allocations: 40.97 kB / 0.5216 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.3317, allocations: 9.297 kB / 0.5216 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.614e-05/0.3318, allocations: 115 kB / 0.5217 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.3318, allocations: 8.094 kB / 0.5217 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.3318, allocations: 14.5 kB / 0.5217 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.332, allocations: 91.64 kB / 0.5218 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.332, allocations: 3.938 kB / 0.5218 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.332, allocations: 4 kB / 0.5218 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.332, allocations: 3.156 kB / 0.5218 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.3321, allocations: 52.98 kB / 0.5218 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.3326, allocations: 412.4 kB / 0.5222 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.3327, allocations: 56.09 kB / 0.5223 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.3328, allocations: 19.55 kB / 0.5223 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.3328, allocations: 5.109 kB / 0.5223 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.3328, allocations: 35.75 kB / 0.5224 GB, free: 8.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3328, allocations: 0 / 0.5224 GB, free: 8.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001926/0.333, allocations: 77.12 kB / 0.5224 GB, free: 8.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.333, allocations: 56.47 kB / 0.5225 GB, free: 8.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.517e-05/0.3331, allocations: 109.8 kB / 0.5226 GB, free: 8.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.3331, allocations: 30.73 kB / 0.5226 GB, free: 7.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.3331, allocations: 106.6 kB / 0.5227 GB, free: 7.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.3331, allocations: 25.62 kB / 0.5227 GB, free: 7.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.3332, allocations: 20.3 kB / 0.5228 GB, free: 7.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.124e-05/0.3332, allocations: 314.2 kB / 0.5231 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.279e-05/0.3332, allocations: 21.5 kB / 0.5231 GB, free: 7.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/0.3333, allocations: 36.2 kB / 0.5231 GB, free: 7.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.497e-05/0.3334, allocations: 52.12 kB / 0.5232 GB, free: 7.449 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3334, allocations: 1.219 kB / 0.5232 GB, free: 7.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001126/0.3335, allocations: 81.11 kB / 0.5232 GB, free: 7.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3335, allocations: 5.406 kB / 0.5232 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3335, allocations: 9.688 kB / 0.5233 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3335, allocations: 7.094 kB / 0.5233 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3336, allocations: 16.33 kB / 0.5233 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3336, allocations: 1.219 kB / 0.5233 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/0.3337, allocations: 7.859 kB / 0.5233 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3337, allocations: 2.75 kB / 0.5233 GB, free: 7.383 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.292e-05/0.3337, allocations: 113.8 kB / 0.5234 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.3337, allocations: 5.984 kB / 0.5234 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.3339, allocations: 91.16 kB / 0.5235 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3339, allocations: 1.469 kB / 0.5235 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3339, allocations: 1.406 kB / 0.5235 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3339, allocations: 1.344 kB / 0.5235 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.3341, allocations: 156.8 kB / 0.5236 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3341, allocations: 1.25 kB / 0.5236 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/0.3341, allocations: 16.95 kB / 0.5237 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3341, allocations: 1.094 kB / 0.5237 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3341, allocations: 7.938 kB / 0.5237 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3341, allocations: 2.031 kB / 0.5237 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3341, allocations: 4 kB / 0.5237 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.3343, allocations: 169.3 kB / 0.5238 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.3343, allocations: 2.562 kB / 0.5238 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.3343, allocations: 6.016 kB / 0.5238 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.744e-05/0.3343, allocations: 4 kB / 0.5238 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.3344, allocations: 4.312 kB / 0.5239 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.3344, allocations: 1.844 kB / 0.5239 GB, free: 6.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.805e-05/0.3344, allocations: 97.98 kB / 0.5239 GB, free: 6.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3344, allocations: 1.125 kB / 0.5239 GB, free: 6.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.3346, allocations: 17.42 kB / 0.524 GB, free: 6.758 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.0002815/0.3349, allocations: 0.695 MB / 0.5246 GB, free: 6.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.335, allocations: 39.94 kB / 0.5247 GB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.335, allocations: 5.062 kB / 0.5247 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.459e-05/0.3351, allocations: 21.91 kB / 0.5247 GB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.3354, allocations: 6.594 kB / 0.5247 GB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.336, allocations: 218 kB / 0.5249 GB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.3362, allocations: 0.6904 MB / 0.5256 GB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.92e-05/0.3362, allocations: 9.719 kB / 0.5256 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.3362, allocations: 24.28 kB / 0.5256 GB, free: 5.141 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3362, allocations: 0 / 0.5256 GB, free: 5.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.3567, allocations: 1.693 MB / 0.5273 GB, free: 4.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.48, allocations: 10.11 kB / 0.5273 GB, free: 4.719 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.284615663986187] Failed to read output from testmodel.py, exit status != 0: 11.639049869962037 11.653909294 11.31937022 Calling exit ...