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.0008726/0.0008726, allocations: 80.44 kB / 19.95 MB, free: 4.617 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.0008556/0.0008556, allocations: 165.2 kB / 23.23 MB, free: 1.336 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.8888/0.8888, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.06418/0.06418, allocations: 18.13 MB / 278.1 MB, free: 11.54 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_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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 415.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.892e-05, allocations: 2.281 kB / 415.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.002008/0.002027, allocations: 1.984 MB / 417.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003378/0.002365, allocations: 187.2 kB / 417.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/0.002449, allocations: 3.062 kB / 417.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.45e-05/0.002504, allocations: 29.59 kB / 417.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.002636, allocations: 74.48 kB / 417.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.002771, allocations: 44.27 kB / 417.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.002935, allocations: 222 kB / 417.6 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.003142, allocations: 89.39 kB / 417.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.003258, allocations: 75.97 kB / 417.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.003353, allocations: 64.94 kB / 417.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.003384, allocations: 14.03 kB / 417.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.103e-05/0.003405, allocations: 14.88 kB / 417.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.003428, allocations: 32.59 kB / 417.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.00348, allocations: 67.45 kB / 418 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.003667, allocations: 203 kB / 418.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.003669, allocations: 1.578 kB / 418.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.00367, allocations: 0 / 418.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.003675, allocations: 0 / 418.2 MB, free: 10.82 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004036/0.004079, allocations: 407.7 kB / 418.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.004116, allocations: 9.734 kB / 418.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.004148, allocations: 47.19 kB / 418.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.004179, allocations: 22.02 kB / 418.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.004365, allocations: 170.1 kB / 418.8 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.004378, allocations: 11.22 kB / 418.8 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.0044, allocations: 12.47 kB / 418.8 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.004578, allocations: 131.2 kB / 418.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.004586, allocations: 1.625 kB / 419 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.004597, allocations: 4.375 kB / 419 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.004605, allocations: 12.22 kB / 419 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.004734, allocations: 83.56 kB / 419 MB, free: 10.12 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) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/0.005391, allocations: 443.5 kB / 419.5 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.005494, allocations: 53.23 kB / 419.5 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/0.005532, allocations: 23.19 kB / 419.6 MB, free: 9.723 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.005545, allocations: 0.5156 kB / 419.6 MB, free: 9.723 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.077e-05/0.005556, allocations: 32.41 kB / 419.6 MB, free: 9.684 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.005557, allocations: 5.5 kB / 419.6 MB, free: 9.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001801/0.005737, allocations: 83.55 kB / 419.7 MB, free: 9.625 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.00576, allocations: 57.23 kB / 419.7 MB, free: 9.559 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.005909, allocations: 223.5 kB / 419.9 MB, free: 9.418 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-06/0.005915, allocations: 26.77 kB / 420 MB, free: 9.387 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.005971, allocations: 158.8 kB / 420.1 MB, free: 9.246 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.005982, allocations: 14.56 kB / 420.1 MB, free: 9.234 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.006022, allocations: 27.03 kB / 420.2 MB, free: 9.211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.379e-05/0.006056, allocations: 327.7 kB / 420.5 MB, free: 8.891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.685e-05/0.006092, allocations: 21.23 kB / 420.5 MB, free: 8.883 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.314e-05/0.006136, allocations: 43.22 kB / 420.6 MB, free: 8.844 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.006333, allocations: 99.91 kB / 420.7 MB, free: 8.777 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006334, allocations: 0 / 420.7 MB, free: 8.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001204/0.006455, allocations: 110.8 kB / 420.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.006466, allocations: 5.703 kB / 420.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.00647, allocations: 1.531 kB / 420.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.006482, allocations: 1.562 kB / 420.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.006626, allocations: 42.33 kB / 420.8 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.006632, allocations: 3.141 kB / 420.8 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.006681, allocations: 16.95 kB / 420.8 MB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.006688, allocations: 2.906 kB / 420.8 MB, free: 8.695 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: 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 9.382e-05/0.006781, allocations: 127.5 kB / 421 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.006802, allocations: 18.95 kB / 421 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.006827, allocations: 28.81 kB / 421 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006829, allocations: 5.203 kB / 421 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.006833, allocations: 1.031 kB / 421 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.006836, allocations: 4.938 kB / 421 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.007152, allocations: 365.5 kB / 421.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.007155, allocations: 2.141 kB / 421.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/0.0072, allocations: 10.44 kB / 421.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.007203, allocations: 2.078 kB / 421.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.007209, allocations: 5.5 kB / 421.4 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.007212, allocations: 1.469 kB / 421.4 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.007215, allocations: 8.094 kB / 421.4 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.00735, allocations: 202.6 kB / 421.6 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.00737, allocations: 23.06 kB / 421.6 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.007387, allocations: 1.797 kB / 421.6 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.995e-05/0.007437, allocations: 1.094 kB / 421.6 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.007452, allocations: 11.7 kB / 421.6 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.007457, allocations: 2.797 kB / 421.6 MB, free: 8.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.224e-05/0.007549, allocations: 163.6 kB / 421.8 MB, free: 7.902 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007549, allocations: 5.625 kB / 421.8 MB, free: 7.898 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.007723, allocations: 27.28 kB / 421.8 MB, free: 7.898 MB / 330.7 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.0002066/0.00793, allocations: 0.7351 MB / 422.6 MB, free: 7.188 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.008037, allocations: 46.28 kB / 422.6 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.008039, allocations: 0 / 422.6 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.008062, allocations: 18.73 kB / 422.6 MB, free: 7.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.00829, allocations: 40.98 kB / 422.7 MB, free: 7.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.009846, allocations: 1.95 MB / 424.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.687e-05/0.009943, allocations: 109 kB / 424.7 MB, free: 5.523 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.443e-05/0.01001, allocations: 22.05 kB / 424.7 MB, free: 5.516 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.01008, allocations: 53.23 kB / 424.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.01008, allocations: 0 / 424.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.02735, allocations: 4.237 MB / 429 MB, free: 4.387 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.775/6.803, allocations: 9.812 kB / 429 MB, free: 4.379 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.738315166905522] Failed to read output from testmodel.py, exit status != 0: 6.8831955613568425 6.892228655 6.88690128 Calling exit ...