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.0008787/0.0008787, allocations: 72.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0008777/0.0008777, allocations: 169.6 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.8893/0.8893, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.06068/0.06068, allocations: 18.14 MB / 278.1 MB, free: 11.53 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 415.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.053e-05, allocations: 2.281 kB / 415.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.00204/0.002061, allocations: 1.885 MB / 417 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002996/0.00236, allocations: 149.5 kB / 417.1 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.002436, allocations: 5.312 kB / 417.1 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.867e-05/0.002485, allocations: 23 kB / 417.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.002594, allocations: 63 kB / 417.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.002721, allocations: 25.59 kB / 417.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.002842, allocations: 179.4 kB / 417.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.003018, allocations: 74.56 kB / 417.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.982e-05/0.003118, allocations: 67.94 kB / 417.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.619e-05/0.003204, allocations: 45.44 kB / 417.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.003233, allocations: 9.75 kB / 417.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.779e-05/0.003251, allocations: 11.34 kB / 417.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.003275, allocations: 32.81 kB / 417.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.00332, allocations: 45.27 kB / 417.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.003478, allocations: 155.8 kB / 417.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.003482, allocations: 1.188 kB / 417.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.003483, allocations: 0 / 417.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.003488, allocations: 4 kB / 417.8 MB, free: 11.02 MB / 330.7 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.0003827/0.003871, allocations: 370.6 kB / 418.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.003913, allocations: 10.95 kB / 418.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.003941, allocations: 48.95 kB / 418.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.003969, allocations: 15.19 kB / 418.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.00417, allocations: 160.3 kB / 418.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.004183, allocations: 9.406 kB / 418.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.004205, allocations: 11.02 kB / 418.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.004375, allocations: 119.2 kB / 418.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.004382, allocations: 4.188 kB / 418.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.004393, allocations: 5.469 kB / 418.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.0044, allocations: 8.016 kB / 418.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.873e-05/0.004499, allocations: 58.75 kB / 418.6 MB, free: 10.35 MB / 330.7 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.0006171/0.005116, allocations: 0.4936 MB / 419.1 MB, free: 9.922 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.005227, allocations: 47.8 kB / 419.2 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/0.005259, allocations: 21.97 kB / 419.2 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.005272, allocations: 3.938 kB / 419.2 MB, free: 9.867 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.214e-05/0.005284, allocations: 33.8 kB / 419.2 MB, free: 9.828 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.005285, allocations: 0 / 419.2 MB, free: 9.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000174/0.005459, allocations: 79.56 kB / 419.3 MB, free: 9.773 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.005482, allocations: 56 kB / 419.4 MB, free: 9.707 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.005602, allocations: 197.7 kB / 419.6 MB, free: 9.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.005608, allocations: 25.7 kB / 419.6 MB, free: 9.539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.005656, allocations: 130.4 kB / 419.7 MB, free: 9.422 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.005668, allocations: 17.89 kB / 419.7 MB, free: 9.406 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.005699, allocations: 24.98 kB / 419.7 MB, free: 9.383 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.354e-05/0.005733, allocations: 323.3 kB / 420.1 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.00576, allocations: 15.42 kB / 420.1 MB, free: 9.059 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.005789, allocations: 30.41 kB / 420.1 MB, free: 9.035 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.006019, allocations: 79.22 kB / 420.2 MB, free: 8.996 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.00602, allocations: 0 / 420.2 MB, free: 8.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.9e-05/0.006119, allocations: 89.45 kB / 420.3 MB, free: 8.938 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.006133, allocations: 13.62 kB / 420.3 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.006138, allocations: 0.5156 kB / 420.3 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.00615, allocations: 1.844 kB / 420.3 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/0.006208, allocations: 13.97 kB / 420.3 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.006213, allocations: 0.5156 kB / 420.3 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.006252, allocations: 8.062 kB / 420.3 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.00626, allocations: 4.859 kB / 420.3 MB, free: 8.926 MB / 330.7 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 9.236e-05/0.006352, allocations: 130.6 kB / 420.4 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.00637, allocations: 17.72 kB / 420.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.006395, allocations: 20.56 kB / 420.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006397, allocations: 7.938 kB / 420.5 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.006401, allocations: 0 / 420.5 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.006404, allocations: 1.953 kB / 420.5 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.006526, allocations: 169.7 kB / 420.7 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006527, allocations: 0 / 420.7 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.00658, allocations: 10 kB / 420.7 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.006582, allocations: 0 / 420.7 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.00659, allocations: 5.312 kB / 420.7 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.006591, allocations: 1.5 kB / 420.7 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006592, allocations: 4 kB / 420.7 MB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.006741, allocations: 175.7 kB / 420.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.006759, allocations: 12.88 kB / 420.9 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.006776, allocations: 5.625 kB / 420.9 MB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.515e-05/0.006821, allocations: 4.641 kB / 420.9 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.006835, allocations: 6.641 kB / 420.9 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.006838, allocations: 1.062 kB / 420.9 MB, free: 8.418 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.8e-05/0.006916, allocations: 150.9 kB / 421 MB, free: 8.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006916, allocations: 0 / 421 MB, free: 8.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000154/0.00707, allocations: 21.22 kB / 421 MB, free: 8.32 MB / 330.7 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.0002237/0.007294, allocations: 0.7164 MB / 421.8 MB, free: 7.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.007399, allocations: 35.47 kB / 421.8 MB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007401, allocations: 0 / 421.8 MB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.119e-05/0.007422, allocations: 14.02 kB / 421.8 MB, free: 7.613 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.007643, allocations: 33.09 kB / 421.8 MB, free: 7.598 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.008742, allocations: 1.768 MB / 423.6 MB, free: 6.164 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.058e-05/0.008803, allocations: 103.5 kB / 423.7 MB, free: 6.086 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.351e-05/0.008856, allocations: 15.88 kB / 423.7 MB, free: 6.082 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.008908, allocations: 42.36 kB / 423.8 MB, free: 6.051 MB / 330.7 MB Notification: Performance of SimCode: time 6.12e-07/0.008909, allocations: 1.469 kB / 423.8 MB, free: 6.051 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.02823, allocations: 3.845 MB / 427.6 MB, free: 4.984 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.646/6.674, allocations: 12.86 kB / 427.6 MB, free: 4.977 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.591090930625796] Failed to read output from testmodel.py, exit status != 0: 6.75709218159318 6.766604505 6.76102158 Calling exit ...