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.001467/0.001467, 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.001596/0.001596, allocations: 216 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 8.023 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.1056/0.1056, allocations: 24.13 MB / 336.6 MB, free: 11.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_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",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.002359/0.002359, allocations: 63.91 kB / 473.3 MB, free: 6.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3831, allocations: 59.6 MB / 0.5204 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002955/0.3861, allocations: 1.98 MB / 0.5224 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003567/0.3864, allocations: 149.6 kB / 0.5225 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.743e-05/0.3865, allocations: 5.375 kB / 0.5225 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.386e-05/0.3866, allocations: 20 kB / 0.5225 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.3867, allocations: 60.11 kB / 0.5226 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.3869, allocations: 29.56 kB / 0.5226 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.3871, allocations: 180.2 kB / 0.5228 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.3873, allocations: 69.61 kB / 0.5228 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3874, allocations: 68.91 kB / 0.5229 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3875, allocations: 72.95 kB / 0.523 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.3875, allocations: 10.97 kB / 0.523 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.659e-05/0.3875, allocations: 9.969 kB / 0.523 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.3876, allocations: 23.95 kB / 0.523 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.74e-05/0.3876, allocations: 74.66 kB / 0.5231 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.3878, allocations: 159.8 kB / 0.5232 GB, free: 8.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3878, allocations: 0 / 0.5232 GB, free: 8.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3878, allocations: 5 kB / 0.5232 GB, free: 8.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3878, allocations: 0 / 0.5232 GB, free: 8.203 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.0004653/0.3883, allocations: 368.4 kB / 0.5236 GB, free: 7.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3883, allocations: 9.672 kB / 0.5236 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.3884, allocations: 45.25 kB / 0.5237 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.3884, allocations: 15.91 kB / 0.5237 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.3886, allocations: 162.3 kB / 0.5238 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3886, allocations: 8.188 kB / 0.5238 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.3887, allocations: 16.62 kB / 0.5238 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.3889, allocations: 118.5 kB / 0.524 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3889, allocations: 3.938 kB / 0.524 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3889, allocations: 5.5 kB / 0.524 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3889, allocations: 6.406 kB / 0.524 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.389, allocations: 57.92 kB / 0.524 GB, free: 7.543 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.0008676/0.3899, allocations: 0.7401 MB / 0.5248 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.39, allocations: 50.59 kB / 0.5248 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.3901, allocations: 22.36 kB / 0.5248 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.3901, allocations: 5.406 kB / 0.5248 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.3901, allocations: 35.56 kB / 0.5249 GB, free: 6.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3901, allocations: 0 / 0.5249 GB, free: 6.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002222/0.3904, allocations: 74.41 kB / 0.5249 GB, free: 6.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.3904, allocations: 57.8 kB / 0.525 GB, free: 6.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.3905, allocations: 195.6 kB / 0.5252 GB, free: 6.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3906, allocations: 30.89 kB / 0.5252 GB, free: 6.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.3906, allocations: 129.4 kB / 0.5253 GB, free: 6.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.3906, allocations: 10.34 kB / 0.5253 GB, free: 6.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.3907, allocations: 20.89 kB / 0.5254 GB, free: 6.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.3907, allocations: 323.2 kB / 0.5257 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-05/0.3908, allocations: 15.84 kB / 0.5257 GB, free: 5.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.3908, allocations: 24.16 kB / 0.5257 GB, free: 5.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.3911, allocations: 90.11 kB / 0.5258 GB, free: 5.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3911, allocations: 3.938 kB / 0.5258 GB, free: 5.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000133/0.3912, allocations: 91.09 kB / 0.5259 GB, free: 5.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3912, allocations: 4.969 kB / 0.5259 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3912, allocations: 0 / 0.5259 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3913, allocations: 1.375 kB / 0.5259 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.921e-05/0.3914, allocations: 17.31 kB / 0.5259 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3914, allocations: 1.125 kB / 0.5259 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.616e-05/0.3914, allocations: 11.25 kB / 0.5259 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.3914, allocations: 6.344 kB / 0.5259 GB, free: 5.82 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.0001058/0.3916, allocations: 124.6 kB / 0.526 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.3916, allocations: 21.48 kB / 0.5261 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.3916, allocations: 16.75 kB / 0.5261 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3916, allocations: 1.125 kB / 0.5261 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3916, allocations: 0 / 0.5261 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3916, allocations: 0 / 0.5261 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.3918, allocations: 184.1 kB / 0.5263 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3918, allocations: 0 / 0.5263 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.105e-05/0.3919, allocations: 11.48 kB / 0.5263 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3919, allocations: 0 / 0.5263 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3919, allocations: 1 kB / 0.5263 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3919, allocations: 5.094 kB / 0.5263 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3919, allocations: 80 / 0.5263 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.3921, allocations: 185 kB / 0.5264 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.3921, allocations: 22.77 kB / 0.5265 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.3921, allocations: 0 / 0.5265 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.3922, allocations: 1.219 kB / 0.5265 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.3923, allocations: 2.578 kB / 0.5265 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3923, allocations: 1.734 kB / 0.5265 GB, free: 5.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.3924, allocations: 147.9 kB / 0.5266 GB, free: 5.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3924, allocations: 1.094 kB / 0.5266 GB, free: 5.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.3926, allocations: 21.62 kB / 0.5266 GB, free: 5.215 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.0003283/0.3929, allocations: 0.721 MB / 0.5273 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.3931, allocations: 32.34 kB / 0.5274 GB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3931, allocations: 0 / 0.5274 GB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.211e-05/0.3931, allocations: 14.12 kB / 0.5274 GB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.3934, allocations: 39.59 kB / 0.5274 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.395, allocations: 1.802 MB / 0.5292 GB, free: 3.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.3951, allocations: 0.7114 MB / 0.5299 GB, free: 2.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.717e-05/0.3952, allocations: 16.27 kB / 0.5299 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.3953, allocations: 42.58 kB / 0.5299 GB, free: 2.289 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3953, allocations: 0 / 0.5299 GB, free: 2.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.4255, allocations: 3.179 MB / 0.533 GB, free: 1.801 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.37, allocations: 3.859 kB / 0.533 GB, free: 1.801 MB / 382.1 MB " [Timeout remaining time 649] (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.23236888810061] Failed to read output from testmodel.py, exit status != 0: 11.477494986029342 11.501110296 11.10865499 Calling exit ...