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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.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.09408/0.09408, allocations: 22.68 MB / 325.4 MB, free: 7.902 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00188/0.00188, allocations: 63.56 kB / 457.2 MB, free: 41.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/0.09624, allocations: 58.03 MB / 0.5031 GB, free: 8.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002322/0.09856, allocations: 1.954 MB / 0.505 GB, free: 6.262 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002911/0.09885, allocations: 147.5 kB / 0.5052 GB, free: 6.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.09894, allocations: 0 / 0.5052 GB, free: 6.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.697e-05/0.099, allocations: 19.8 kB / 0.5052 GB, free: 6.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.09913, allocations: 63.47 kB / 0.5052 GB, free: 6.035 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.09926, allocations: 35.91 kB / 0.5053 GB, free: 6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.0994, allocations: 171.1 kB / 0.5054 GB, free: 5.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.09957, allocations: 73.33 kB / 0.5055 GB, free: 5.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.09966, allocations: 71.72 kB / 0.5056 GB, free: 5.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.06e-05/0.09975, allocations: 63.66 kB / 0.5056 GB, free: 5.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.09977, allocations: 12 kB / 0.5056 GB, free: 5.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.081e-05/0.09979, allocations: 12 kB / 0.5057 GB, free: 5.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.09981, allocations: 23.92 kB / 0.5057 GB, free: 5.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.863e-05/0.09987, allocations: 79.58 kB / 0.5058 GB, free: 5.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.1, allocations: 151.3 kB / 0.5059 GB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1, allocations: 4 kB / 0.5059 GB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.1, allocations: 3.984 kB / 0.5059 GB, free: 5.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.1, allocations: 7.938 kB / 0.5059 GB, free: 5.336 MB / 366.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.0004824/0.1005, allocations: 442.6 kB / 0.5063 GB, free: 4.852 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1006, allocations: 12.03 kB / 0.5063 GB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.1006, allocations: 42.73 kB / 0.5064 GB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.1006, allocations: 20.8 kB / 0.5064 GB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.1008, allocations: 216.8 kB / 0.5066 GB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1008, allocations: 12.36 kB / 0.5066 GB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.1009, allocations: 4.375 kB / 0.5066 GB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.101, allocations: 127.9 kB / 0.5068 GB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.101, allocations: 7.938 kB / 0.5068 GB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.101, allocations: 0 / 0.5068 GB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1011, allocations: 0 / 0.5068 GB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1012, allocations: 59.97 kB / 0.5068 GB, free: 4.301 MB / 366.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.0006887/0.1018, allocations: 0.8012 MB / 0.5076 GB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.102, allocations: 42.56 kB / 0.5076 GB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.102, allocations: 28.88 kB / 0.5077 GB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.102, allocations: 0 / 0.5077 GB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.102, allocations: 38.56 kB / 0.5077 GB, free: 3.266 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.102, allocations: 0 / 0.5077 GB, free: 3.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002032/0.1022, allocations: 77.53 kB / 0.5078 GB, free: 3.184 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.1023, allocations: 55.34 kB / 0.5078 GB, free: 3.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1024, allocations: 191.9 kB / 0.508 GB, free: 2.922 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.1024, allocations: 29.7 kB / 0.508 GB, free: 2.887 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.1025, allocations: 124 kB / 0.5082 GB, free: 2.762 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.1025, allocations: 11.91 kB / 0.5082 GB, free: 2.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.1025, allocations: 21.72 kB / 0.5082 GB, free: 2.723 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.182e-05/0.1026, allocations: 326.8 kB / 0.5085 GB, free: 2.395 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.1026, allocations: 15.98 kB / 0.5085 GB, free: 2.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.1026, allocations: 25.72 kB / 0.5085 GB, free: 2.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.1029, allocations: 85.61 kB / 0.5086 GB, free: 2.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1029, allocations: 0 / 0.5086 GB, free: 2.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001196/0.1031, allocations: 97.53 kB / 0.5087 GB, free: 2.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1031, allocations: 8 kB / 0.5087 GB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1031, allocations: 0 / 0.5087 GB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1031, allocations: 0 / 0.5087 GB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.979e-05/0.1032, allocations: 15.98 kB / 0.5087 GB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1032, allocations: 0 / 0.5087 GB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.1033, allocations: 11.89 kB / 0.5088 GB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1033, allocations: 4.031 kB / 0.5088 GB, free: 2.117 MB / 366.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.0001023/0.1034, allocations: 129.7 kB / 0.5089 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.1034, allocations: 19.83 kB / 0.5089 GB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.1034, allocations: 12.94 kB / 0.5089 GB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1034, allocations: 4 kB / 0.5089 GB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1034, allocations: 0 / 0.5089 GB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1034, allocations: 0 / 0.5089 GB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.1036, allocations: 217.5 kB / 0.5091 GB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1036, allocations: 0 / 0.5091 GB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.592e-05/0.1037, allocations: 11.92 kB / 0.5091 GB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1037, allocations: 4 kB / 0.5091 GB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1037, allocations: 0 / 0.5091 GB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1037, allocations: 0 / 0.5091 GB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1037, allocations: 0 / 0.5091 GB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.1038, allocations: 183.5 kB / 0.5093 GB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-05/0.1039, allocations: 89.08 kB / 0.5094 GB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.1039, allocations: 4.062 kB / 0.5094 GB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/0.104, allocations: 4 kB / 0.5094 GB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.104, allocations: 7.938 kB / 0.5094 GB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.104, allocations: 0 / 0.5094 GB, free: 1.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.881e-05/0.1041, allocations: 149.5 kB / 0.5096 GB, free: 1.199 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1041, allocations: 0 / 0.5096 GB, free: 1.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.1043, allocations: 23.95 kB / 0.5096 GB, free: 1.176 MB / 366.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.0003367/0.1046, allocations: 0.7162 MB / 0.5103 GB, free: 444 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.1048, allocations: 39.92 kB / 0.5103 GB, free: 404 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.1048, allocations: 0 / 0.5103 GB, free: 404 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.021e-05/0.1048, allocations: 15.98 kB / 0.5103 GB, free: 388 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.1051, allocations: 32.36 kB / 0.5104 GB, free: 356 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.1071, allocations: 1.79 MB / 0.5121 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.1075, allocations: 0.7084 MB / 0.5128 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.703e-05/0.1076, allocations: 13.44 kB / 0.5128 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/0.1076, allocations: 43.42 kB / 0.5129 GB, free: 13.69 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1076, allocations: 3.938 kB / 0.5129 GB, free: 13.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.132, allocations: 3.031 MB / 0.5158 GB, free: 10.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.656, allocations: 11.98 kB / 0.5158 GB, free: 10.72 MB / 382.1 MB " [Timeout remaining time 652] (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: 10.398798586800694] Failed to read output from testmodel.py, exit status != 0: 7.722902488894761 7.743114227 7.6400770080000004 Calling exit ...