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.001415/0.001415, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001871/0.001871, allocations: 220.1 kB / 22.26 MB, free: 5.117 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.588/1.588, allocations: 230.6 MB / 256 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.1083/0.1083, allocations: 24.12 MB / 336.6 MB, free: 11.41 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_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.002373/0.002373, allocations: 67.89 kB / 473.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3775, allocations: 59.59 MB / 0.5204 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.003028/0.3805, allocations: 2.123 MB / 0.5225 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003563/0.3809, allocations: 177 kB / 0.5227 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.507e-05/0.381, allocations: 2.531 kB / 0.5227 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.274e-05/0.381, allocations: 25.77 kB / 0.5227 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.3812, allocations: 75.44 kB / 0.5228 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.3814, allocations: 39.72 kB / 0.5228 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.3816, allocations: 213.8 kB / 0.523 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.3818, allocations: 92.59 kB / 0.5231 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.382, allocations: 88.56 kB / 0.5232 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.3821, allocations: 84.7 kB / 0.5233 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.3821, allocations: 14.66 kB / 0.5233 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.372e-05/0.3822, allocations: 18.69 kB / 0.5233 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.3822, allocations: 37.56 kB / 0.5233 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.585e-05/0.3823, allocations: 93.91 kB / 0.5234 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.3826, allocations: 199.5 kB / 0.5236 GB, free: 8.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3826, allocations: 0 / 0.5236 GB, free: 8.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3826, allocations: 0.7969 kB / 0.5236 GB, free: 8.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3826, allocations: 1.094 kB / 0.5236 GB, free: 8.016 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.0005282/0.3831, allocations: 409 kB / 0.524 GB, free: 7.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3831, allocations: 10.23 kB / 0.524 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.3832, allocations: 46.91 kB / 0.524 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.3832, allocations: 22.42 kB / 0.5241 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.3834, allocations: 181.9 kB / 0.5242 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3835, allocations: 10.41 kB / 0.5243 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.3835, allocations: 13.66 kB / 0.5243 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.3837, allocations: 130.5 kB / 0.5244 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3837, allocations: 5 kB / 0.5244 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3837, allocations: 9.219 kB / 0.5244 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3837, allocations: 3.5 kB / 0.5244 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.3839, allocations: 75.16 kB / 0.5245 GB, free: 7.309 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.0007594/0.3847, allocations: 0.6249 MB / 0.5251 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.3848, allocations: 51.06 kB / 0.5251 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.3848, allocations: 23.52 kB / 0.5252 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.3848, allocations: 5.219 kB / 0.5252 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.3849, allocations: 31.91 kB / 0.5252 GB, free: 6.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.3849, allocations: 3.984 kB / 0.5252 GB, free: 6.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002175/0.3851, allocations: 87.58 kB / 0.5253 GB, free: 6.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.3851, allocations: 53.77 kB / 0.5253 GB, free: 6.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.3853, allocations: 225.6 kB / 0.5255 GB, free: 6.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.3853, allocations: 27.11 kB / 0.5256 GB, free: 6.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.3854, allocations: 150.1 kB / 0.5257 GB, free: 6.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.3854, allocations: 15.73 kB / 0.5257 GB, free: 6.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.3854, allocations: 25.91 kB / 0.5258 GB, free: 6.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.3855, allocations: 332.1 kB / 0.5261 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.3855, allocations: 16.12 kB / 0.5261 GB, free: 5.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.3856, allocations: 51.2 kB / 0.5261 GB, free: 5.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.3858, allocations: 92.44 kB / 0.5262 GB, free: 5.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3858, allocations: 0 / 0.5262 GB, free: 5.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001693/0.386, allocations: 115.9 kB / 0.5263 GB, free: 5.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.386, allocations: 11.97 kB / 0.5263 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.386, allocations: 1.062 kB / 0.5263 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.386, allocations: 1.922 kB / 0.5263 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.3863, allocations: 37.72 kB / 0.5264 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3863, allocations: 1.703 kB / 0.5264 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.892e-05/0.3864, allocations: 21.02 kB / 0.5264 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3864, allocations: 3.281 kB / 0.5264 GB, free: 5.676 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.000105/0.3865, allocations: 132 kB / 0.5265 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.3865, allocations: 14.44 kB / 0.5266 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.3865, allocations: 17.31 kB / 0.5266 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3865, allocations: 0 / 0.5266 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3865, allocations: 1.406 kB / 0.5266 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3865, allocations: 4.594 kB / 0.5266 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.387, allocations: 386.8 kB / 0.5269 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.387, allocations: 1.219 kB / 0.5269 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.397e-05/0.3871, allocations: 11.28 kB / 0.527 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3871, allocations: 1.219 kB / 0.527 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3871, allocations: 5.953 kB / 0.527 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3871, allocations: 1.438 kB / 0.527 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.3871, allocations: 2.125 kB / 0.527 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.3873, allocations: 205 kB / 0.5272 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.3873, allocations: 23.06 kB / 0.5272 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.3873, allocations: 5.406 kB / 0.5272 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.797e-05/0.3874, allocations: 2.125 kB / 0.5272 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.3875, allocations: 2.641 kB / 0.5272 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3875, allocations: 3.531 kB / 0.5272 GB, free: 4.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.3876, allocations: 166.8 kB / 0.5274 GB, free: 4.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3876, allocations: 0 / 0.5274 GB, free: 4.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.3878, allocations: 35.25 kB / 0.5274 GB, free: 4.875 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.0003623/0.3882, allocations: 0.7401 MB / 0.5281 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.3884, allocations: 46.48 kB / 0.5282 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3884, allocations: 192 / 0.5282 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/0.3884, allocations: 18.86 kB / 0.5282 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.3887, allocations: 39.17 kB / 0.5282 GB, free: 4.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.3908, allocations: 1.983 MB / 0.5301 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.391, allocations: 0.723 MB / 0.5309 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.007e-05/0.391, allocations: 22.89 kB / 0.5309 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.3911, allocations: 52.62 kB / 0.5309 GB, free: 1.805 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3911, allocations: 0 / 0.5309 GB, free: 1.805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03408/0.4252, allocations: 3.554 MB / 0.5344 GB, free: 1.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.43, allocations: 13.11 kB / 0.5344 GB, free: 1.285 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.400476663839072] Failed to read output from testmodel.py, exit status != 0: 11.534935608040541 11.552061112 11.166150131 Calling exit ...