Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_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.00146/0.00146, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001619/0.001619, allocations: 209.2 kB / 23.04 MB, free: 5.074 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.1072/0.1072, allocations: 22.93 MB / 336.2 MB, free: 12.64 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_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_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.002008/0.002008, allocations: 67.89 kB / 472.3 MB, free: 8.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3456, allocations: 59.28 MB / 0.5191 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.003625/0.3492, allocations: 2.126 MB / 0.5212 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003751/0.3496, allocations: 168.5 kB / 0.5213 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.553e-05/0.3496, allocations: 6.438 kB / 0.5213 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.543e-05/0.3497, allocations: 22.95 kB / 0.5214 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.3499, allocations: 77.55 kB / 0.5214 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.35, allocations: 40.05 kB / 0.5215 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.3503, allocations: 221.4 kB / 0.5217 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.3505, allocations: 88.47 kB / 0.5218 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.3506, allocations: 85.58 kB / 0.5219 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.3508, allocations: 87.55 kB / 0.5219 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.3508, allocations: 14.31 kB / 0.522 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.616e-05/0.3509, allocations: 14.38 kB / 0.522 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.3509, allocations: 33.73 kB / 0.522 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.351, allocations: 102.6 kB / 0.5221 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.3513, allocations: 199.7 kB / 0.5223 GB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3513, allocations: 0 / 0.5223 GB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3513, allocations: 0.9375 kB / 0.5223 GB, free: 8.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3513, allocations: 0 / 0.5223 GB, free: 8.688 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005577/0.3518, allocations: 408.4 kB / 0.5227 GB, free: 8.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3519, allocations: 10.95 kB / 0.5227 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.573e-05/0.3519, allocations: 3.844 kB / 0.5227 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.3519, allocations: 46.56 kB / 0.5227 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.352, allocations: 23.11 kB / 0.5228 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.3523, allocations: 181.8 kB / 0.5229 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.3523, allocations: 10.31 kB / 0.5229 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.3523, allocations: 13.78 kB / 0.523 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.3526, allocations: 133.3 kB / 0.5231 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3526, allocations: 5.125 kB / 0.5231 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3526, allocations: 6.016 kB / 0.5231 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3526, allocations: 3.188 kB / 0.5231 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.3528, allocations: 74.89 kB / 0.5232 GB, free: 7.98 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) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008586/0.3536, allocations: 0.6284 MB / 0.5238 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.3538, allocations: 55.97 kB / 0.5238 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.3538, allocations: 19.31 kB / 0.5239 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.3538, allocations: 1.078 kB / 0.5239 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.3538, allocations: 31.62 kB / 0.5239 GB, free: 7.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3538, allocations: 0 / 0.5239 GB, free: 7.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000246/0.3541, allocations: 85.11 kB / 0.524 GB, free: 7.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.3541, allocations: 53.58 kB / 0.524 GB, free: 7.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.3543, allocations: 230.8 kB / 0.5242 GB, free: 7.074 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.3543, allocations: 25.7 kB / 0.5243 GB, free: 7.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.3544, allocations: 150.2 kB / 0.5244 GB, free: 6.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.3544, allocations: 16.16 kB / 0.5244 GB, free: 6.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.3545, allocations: 30.48 kB / 0.5244 GB, free: 6.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.3546, allocations: 327.9 kB / 0.5248 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.245e-05/0.3546, allocations: 15.38 kB / 0.5248 GB, free: 6.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-05/0.3547, allocations: 55.95 kB / 0.5248 GB, free: 6.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.3549, allocations: 89 kB / 0.5249 GB, free: 6.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3549, allocations: 0 / 0.5249 GB, free: 6.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.3551, allocations: 118.8 kB / 0.525 GB, free: 6.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3552, allocations: 5.438 kB / 0.525 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3552, allocations: 1.031 kB / 0.525 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3552, allocations: 1.25 kB / 0.525 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.3554, allocations: 45.8 kB / 0.5251 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3555, allocations: 3 kB / 0.5251 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.3555, allocations: 15.61 kB / 0.5251 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.3556, allocations: 4.547 kB / 0.5251 GB, free: 6.348 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: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001286/0.3557, allocations: 130.5 kB / 0.5252 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.3557, allocations: 15.09 kB / 0.5252 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.3558, allocations: 17.22 kB / 0.5253 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3558, allocations: 0.9375 kB / 0.5253 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3558, allocations: 0 / 0.5253 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3558, allocations: 4.641 kB / 0.5253 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/0.3563, allocations: 387.7 kB / 0.5256 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3563, allocations: 0.75 kB / 0.5256 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.3564, allocations: 15.05 kB / 0.5256 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3564, allocations: 6.156 kB / 0.5257 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3564, allocations: 1.859 kB / 0.5257 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.3564, allocations: 1 kB / 0.5257 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3564, allocations: 1.156 kB / 0.5257 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.3566, allocations: 202 kB / 0.5258 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.3567, allocations: 21.94 kB / 0.5259 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.3567, allocations: 6.953 kB / 0.5259 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.552e-05/0.3568, allocations: 0.7969 kB / 0.5259 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.3568, allocations: 3.547 kB / 0.5259 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3568, allocations: 6.922 kB / 0.5259 GB, free: 5.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.357, allocations: 166.2 kB / 0.526 GB, free: 5.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.357, allocations: 1.406 kB / 0.526 GB, free: 5.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.3572, allocations: 30.56 kB / 0.5261 GB, free: 5.543 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0003757/0.3576, allocations: 0.7349 MB / 0.5268 GB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.3578, allocations: 47.28 kB / 0.5268 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3578, allocations: 0 / 0.5268 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.3578, allocations: 17.64 kB / 0.5269 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.3582, allocations: 38.58 kB / 0.5269 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.3602, allocations: 1.99 MB / 0.5288 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.3603, allocations: 0.7184 MB / 0.5295 GB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.306e-05/0.3604, allocations: 19.67 kB / 0.5296 GB, free: 2.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.557e-05/0.3605, allocations: 54.89 kB / 0.5296 GB, free: 2.48 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3605, allocations: 1.25 kB / 0.5296 GB, free: 2.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.3848, allocations: 3.59 MB / 0.5331 GB, free: 1.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.56, allocations: 13.42 kB / 0.5331 GB, free: 1.941 MB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_header_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_001.pipe >> ../files/AES_AES.Devel_test_models.Test_header_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_header_001_fmu --startTime=0 --stopTime=86400 --stepSize=8.64 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_header_001.fmu > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.573644427990075] Failed to read output from testmodel.py, exit status != 0: 11.723541268031113 11.749752213 11.393388968 Calling exit ...