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.001802/0.001802, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002132/0.002132, allocations: 219.9 kB / 23.03 MB, free: 4.953 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1049/0.1049, allocations: 22.94 MB / 336.1 MB, free: 12.43 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: 63.91 kB / 472.2 MB, free: 7.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3231, allocations: 59.29 MB / 0.519 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.002905/0.326, allocations: 1.691 MB / 0.5207 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002088/0.3262, allocations: 55 kB / 0.5207 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.3263, allocations: 1.312 kB / 0.5207 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.418e-05/0.3263, allocations: 12 kB / 0.5207 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.3265, allocations: 24.66 kB / 0.5208 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.99e-05/0.3265, allocations: 19.25 kB / 0.5208 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.3266, allocations: 80.75 kB / 0.5208 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.3268, allocations: 25.72 kB / 0.5209 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.394e-05/0.3268, allocations: 28.02 kB / 0.5209 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3269, allocations: 37.12 kB / 0.5209 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.327, allocations: 6.625 kB / 0.5209 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.327, allocations: 7.344 kB / 0.5209 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.327, allocations: 19.58 kB / 0.521 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.3271, allocations: 31.45 kB / 0.521 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.3272, allocations: 91.67 kB / 0.5211 GB, free: 9.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3272, allocations: 0 / 0.5211 GB, free: 9.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3272, allocations: 0 / 0.5211 GB, free: 9.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3272, allocations: 3.938 kB / 0.5211 GB, free: 9.262 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.0004288/0.3277, allocations: 302.4 kB / 0.5214 GB, free: 8.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3277, allocations: 11.64 kB / 0.5214 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.285e-05/0.3277, allocations: 2.656 kB / 0.5214 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.3278, allocations: 40.38 kB / 0.5214 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.3278, allocations: 13.41 kB / 0.5214 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.59e-05/0.3279, allocations: 110.4 kB / 0.5215 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3279, allocations: 9.609 kB / 0.5216 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.3279, allocations: 13.84 kB / 0.5216 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.3281, allocations: 84.7 kB / 0.5216 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3281, allocations: 0.6094 kB / 0.5216 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3281, allocations: 5.219 kB / 0.5217 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.3281, allocations: 5.906 kB / 0.5217 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.3283, allocations: 55.05 kB / 0.5217 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.3287, allocations: 323.3 kB / 0.522 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.3288, allocations: 55.52 kB / 0.5221 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.3289, allocations: 24.03 kB / 0.5221 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.3289, allocations: 2.016 kB / 0.5221 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.3289, allocations: 31.72 kB / 0.5221 GB, free: 8.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.3289, allocations: 2.812 kB / 0.5221 GB, free: 8.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001761/0.3291, allocations: 80.17 kB / 0.5222 GB, free: 8.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.3291, allocations: 53.44 kB / 0.5223 GB, free: 8.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/0.3292, allocations: 104.9 kB / 0.5224 GB, free: 8.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.3292, allocations: 26.89 kB / 0.5224 GB, free: 8.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.698e-05/0.3292, allocations: 109 kB / 0.5225 GB, free: 7.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.3293, allocations: 23.81 kB / 0.5225 GB, free: 7.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.3293, allocations: 20.91 kB / 0.5225 GB, free: 7.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.244e-05/0.3293, allocations: 319 kB / 0.5228 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.3294, allocations: 17.83 kB / 0.5229 GB, free: 7.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.8e-05/0.3294, allocations: 33 kB / 0.5229 GB, free: 7.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.713e-05/0.3295, allocations: 59.92 kB / 0.5229 GB, free: 7.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3295, allocations: 0 / 0.5229 GB, free: 7.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001088/0.3296, allocations: 82.2 kB / 0.523 GB, free: 7.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3296, allocations: 5.609 kB / 0.523 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3296, allocations: 1.688 kB / 0.523 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3296, allocations: 9.188 kB / 0.523 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3297, allocations: 21.16 kB / 0.5231 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3297, allocations: 5.438 kB / 0.5231 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.801e-05/0.3298, allocations: 5.406 kB / 0.5231 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.3298, allocations: 7.328 kB / 0.5231 GB, free: 7.453 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 4.774e-05/0.3298, allocations: 114.3 kB / 0.5232 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.3298, allocations: 6.266 kB / 0.5232 GB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.33, allocations: 87.7 kB / 0.5233 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.33, allocations: 2.281 kB / 0.5233 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.33, allocations: 0 / 0.5233 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.33, allocations: 1.797 kB / 0.5233 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.3301, allocations: 153.6 kB / 0.5234 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3301, allocations: 0 / 0.5234 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.745e-05/0.3302, allocations: 18.59 kB / 0.5234 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.3302, allocations: 0.6562 kB / 0.5234 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.3302, allocations: 9.094 kB / 0.5234 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3302, allocations: 192 / 0.5234 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3302, allocations: 0.6094 kB / 0.5234 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.3303, allocations: 174.2 kB / 0.5236 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-06/0.3303, allocations: 3.125 kB / 0.5236 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.3303, allocations: 4.688 kB / 0.5236 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.918e-05/0.3304, allocations: 5.281 kB / 0.5236 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.3304, allocations: 4.484 kB / 0.5236 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.3304, allocations: 2.031 kB / 0.5236 GB, free: 6.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.458e-05/0.3304, allocations: 86.39 kB / 0.5237 GB, free: 6.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3304, allocations: 0 / 0.5237 GB, free: 6.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.3307, allocations: 21.05 kB / 0.5237 GB, free: 6.84 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.0002423/0.3309, allocations: 0.693 MB / 0.5244 GB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.331, allocations: 40.42 kB / 0.5245 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.331, allocations: 0 / 0.5245 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.081e-05/0.3311, allocations: 26.69 kB / 0.5245 GB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3314, allocations: 6 kB / 0.5245 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.3318, allocations: 217.5 kB / 0.5247 GB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.518e-05/0.3319, allocations: 75.17 kB / 0.5248 GB, free: 5.871 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.532e-05/0.3319, allocations: 4.422 kB / 0.5248 GB, free: 5.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.332, allocations: 21.02 kB / 0.5248 GB, free: 5.855 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.332, allocations: 7.938 kB / 0.5248 GB, free: 5.848 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.3526, allocations: 1.717 MB / 0.5265 GB, free: 5.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.68, allocations: 2.875 kB / 0.5265 GB, free: 5.391 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.51420022896491] Failed to read output from testmodel.py, exit status != 0: 11.844685249961913 11.860750869 11.529744299 Calling exit ...