Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_002.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.001871/0.001871, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002564/0.002564, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1017/0.1017, allocations: 22.93 MB / 336.2 MB, free: 12.4 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_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",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.002036/0.002036, allocations: 67.89 kB / 472.2 MB, free: 7.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3491, allocations: 59.28 MB / 0.519 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002997/0.3521, allocations: 1.88 MB / 0.5208 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003516/0.3525, allocations: 144.5 kB / 0.521 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.486e-05/0.3526, allocations: 5.969 kB / 0.521 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.634e-05/0.3527, allocations: 24.25 kB / 0.521 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.3528, allocations: 59.05 kB / 0.5211 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.353, allocations: 34.08 kB / 0.5211 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.3532, allocations: 167.7 kB / 0.5213 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.3534, allocations: 73.81 kB / 0.5213 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.3535, allocations: 70.03 kB / 0.5214 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.3537, allocations: 63.42 kB / 0.5215 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.3537, allocations: 11.97 kB / 0.5215 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.195e-05/0.3537, allocations: 10.03 kB / 0.5215 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.3538, allocations: 27.42 kB / 0.5215 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.252e-05/0.3539, allocations: 68.09 kB / 0.5216 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.3541, allocations: 160.3 kB / 0.5217 GB, free: 8.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3541, allocations: 3.938 kB / 0.5217 GB, free: 8.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3541, allocations: 0 / 0.5217 GB, free: 8.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.3541, allocations: 2.25 kB / 0.5217 GB, free: 8.75 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005303/0.3547, allocations: 370.2 kB / 0.5221 GB, free: 8.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3547, allocations: 12.03 kB / 0.5221 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.123e-05/0.3547, allocations: 7.281 kB / 0.5221 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.756e-05/0.3547, allocations: 39.27 kB / 0.5221 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.3548, allocations: 16.84 kB / 0.5222 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.355, allocations: 163 kB / 0.5223 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.355, allocations: 12.72 kB / 0.5223 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.355, allocations: 6.969 kB / 0.5223 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.3553, allocations: 123.2 kB / 0.5224 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3553, allocations: 1.25 kB / 0.5224 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3553, allocations: 4.609 kB / 0.5225 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3553, allocations: 3.281 kB / 0.5225 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.3554, allocations: 61.12 kB / 0.5225 GB, free: 8.09 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: header.T(start = header.Tstart = 293.15, confidence number = 2) * Candidate: header.heatPort.T(start = 288.15, confidence number = 8) * Candidate: P.port.T(start = 288.15, confidence number = 8) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.3562, allocations: 0.4902 MB / 0.523 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.3563, allocations: 51.5 kB / 0.523 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.3563, allocations: 21.8 kB / 0.5231 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.3563, allocations: 0 / 0.5231 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.3564, allocations: 33.77 kB / 0.5231 GB, free: 7.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.3564, allocations: 0 / 0.5231 GB, free: 7.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002118/0.3566, allocations: 79.56 kB / 0.5232 GB, free: 7.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.3566, allocations: 51.41 kB / 0.5232 GB, free: 7.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.3567, allocations: 200.8 kB / 0.5234 GB, free: 7.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.3568, allocations: 27.64 kB / 0.5234 GB, free: 7.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.3568, allocations: 129.4 kB / 0.5236 GB, free: 7.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.3568, allocations: 11.39 kB / 0.5236 GB, free: 7.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.3569, allocations: 20.3 kB / 0.5236 GB, free: 7.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.757e-05/0.3569, allocations: 322 kB / 0.5239 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.357, allocations: 16.59 kB / 0.5239 GB, free: 6.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.571e-05/0.357, allocations: 29.17 kB / 0.5239 GB, free: 6.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.3573, allocations: 81.33 kB / 0.524 GB, free: 6.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3573, allocations: 1.141 kB / 0.524 GB, free: 6.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001427/0.3575, allocations: 97.02 kB / 0.5241 GB, free: 6.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3575, allocations: 5.375 kB / 0.5241 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3575, allocations: 1.703 kB / 0.5241 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3575, allocations: 1.094 kB / 0.5241 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3576, allocations: 13.31 kB / 0.5241 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3576, allocations: 1.609 kB / 0.5241 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/0.3577, allocations: 14.66 kB / 0.5242 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3577, allocations: 2.156 kB / 0.5242 GB, free: 6.672 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 0.0 start = header.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"fluid T\" 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 (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 prepare postOptimizeDAE: time 0.0001176/0.3578, allocations: 135.9 kB / 0.5243 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.3578, allocations: 13.31 kB / 0.5243 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.3579, allocations: 16.09 kB / 0.5243 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3579, allocations: 1.031 kB / 0.5243 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3579, allocations: 0 / 0.5243 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.3579, allocations: 4.469 kB / 0.5243 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.3581, allocations: 169.5 kB / 0.5245 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3581, allocations: 0 / 0.5245 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.932e-05/0.3582, allocations: 14.72 kB / 0.5245 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.3582, allocations: 0 / 0.5245 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3582, allocations: 6.047 kB / 0.5245 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3582, allocations: 3.984 kB / 0.5245 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3582, allocations: 1.406 kB / 0.5245 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.3584, allocations: 182.6 kB / 0.5247 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.3584, allocations: 13.41 kB / 0.5247 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.3584, allocations: 1.094 kB / 0.5247 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3585, allocations: 6.125 kB / 0.5247 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.3585, allocations: 1.906 kB / 0.5247 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3585, allocations: 2.141 kB / 0.5247 GB, free: 6.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.3587, allocations: 152.8 kB / 0.5248 GB, free: 6.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3587, allocations: 0 / 0.5248 GB, free: 6.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000249/0.3589, allocations: 25.53 kB / 0.5249 GB, free: 6.059 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (header.T) * 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 (3): * Single equations (assignments): 3 * 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.0003387/0.3592, allocations: 0.715 MB / 0.5256 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.3594, allocations: 35.56 kB / 0.5256 GB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3594, allocations: 0 / 0.5256 GB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.3594, allocations: 13.33 kB / 0.5256 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.3598, allocations: 33.55 kB / 0.5256 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.3615, allocations: 1.801 MB / 0.5274 GB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.561e-05/0.3615, allocations: 101.2 kB / 0.5275 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.928e-05/0.3616, allocations: 17.8 kB / 0.5275 GB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.3617, allocations: 41.92 kB / 0.5276 GB, free: 3.77 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3617, allocations: 0 / 0.5276 GB, free: 3.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.3876, allocations: 3.394 MB / 0.5309 GB, free: 3.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.69, allocations: 2.219 kB / 0.5309 GB, free: 3.18 MB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_header_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_002.pipe >> ../files/AES_AES.Devel_test_models.Test_header_002.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_header_002_fmu --startTime=0 --stopTime=86400 --stepSize=8.64 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_header_002.fmu > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.64190809498541] Failed to read output from testmodel.py, exit status != 0: 11.87390751997009 11.898226928 11.539380688 Calling exit ...