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.001363/0.001363, allocations: 116.8 kB / 17.17 MB, free: 6 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.001415/0.001415, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.58/1.58, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.09995/0.09995, allocations: 22.93 MB / 332.5 MB, free: 2.629 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",fmuType="cs",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.00316/0.00316, allocations: 60.62 kB / 466.7 MB, free: 32.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1373, allocations: 59.27 MB / 0.5137 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.004538/0.1419, allocations: 2.112 MB / 0.5157 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008788/0.1428, allocations: 183.3 kB / 0.5159 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.143, allocations: 0 / 0.5159 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.1432, allocations: 27.72 kB / 0.5159 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003899/0.1436, allocations: 75.41 kB / 0.516 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.1439, allocations: 35.95 kB / 0.5161 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000497/0.1444, allocations: 218.9 kB / 0.5163 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.1448, allocations: 88.48 kB / 0.5163 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.1451, allocations: 83.66 kB / 0.5164 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.1453, allocations: 83.64 kB / 0.5165 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.583e-05/0.1454, allocations: 12 kB / 0.5165 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.023e-05/0.1454, allocations: 16 kB / 0.5165 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.1455, allocations: 39.78 kB / 0.5166 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.1457, allocations: 91.55 kB / 0.5167 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.1461, allocations: 207 kB / 0.5169 GB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.1461, allocations: 0 / 0.5169 GB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1461, allocations: 0 / 0.5169 GB, free: 10.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.1461, allocations: 0 / 0.5169 GB, free: 10.73 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.001125/0.1472, allocations: 486.7 kB / 0.5173 GB, free: 10.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/0.1473, allocations: 12.62 kB / 0.5173 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.613e-05/0.1473, allocations: 480 / 0.5173 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.889e-05/0.1474, allocations: 46.73 kB / 0.5174 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.1475, allocations: 24.8 kB / 0.5174 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.1479, allocations: 240.8 kB / 0.5176 GB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.148, allocations: 8.656 kB / 0.5176 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.148, allocations: 12.38 kB / 0.5177 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.1484, allocations: 136.1 kB / 0.5178 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1484, allocations: 0 / 0.5178 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.1484, allocations: 11.94 kB / 0.5178 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.1484, allocations: 4 kB / 0.5178 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.1486, allocations: 76.75 kB / 0.5179 GB, free: 9.59 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.001263/0.1499, allocations: 0.6658 MB / 0.5185 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.15, allocations: 58.44 kB / 0.5186 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.968e-05/0.1501, allocations: 20.86 kB / 0.5186 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.1501, allocations: 0 / 0.5186 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.1502, allocations: 34.56 kB / 0.5186 GB, free: 8.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.1502, allocations: 0 / 0.5186 GB, free: 8.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003595/0.1505, allocations: 93.61 kB / 0.5187 GB, free: 8.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.1506, allocations: 51.41 kB / 0.5188 GB, free: 8.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.1509, allocations: 229 kB / 0.519 GB, free: 8.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1509, allocations: 25.7 kB / 0.519 GB, free: 8.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.151, allocations: 152 kB / 0.5192 GB, free: 8.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1511, allocations: 15.84 kB / 0.5192 GB, free: 8.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.1512, allocations: 29.72 kB / 0.5192 GB, free: 8.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.1513, allocations: 326.8 kB / 0.5195 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.386e-05/0.1514, allocations: 16 kB / 0.5195 GB, free: 7.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.615e-05/0.1515, allocations: 43.42 kB / 0.5196 GB, free: 7.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/0.1519, allocations: 99.34 kB / 0.5197 GB, free: 7.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1519, allocations: 0 / 0.5197 GB, free: 7.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002487/0.1522, allocations: 113.5 kB / 0.5198 GB, free: 7.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.1522, allocations: 4 kB / 0.5198 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1522, allocations: 64 / 0.5198 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.1523, allocations: 8 kB / 0.5198 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.1525, allocations: 40.05 kB / 0.5198 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1525, allocations: 0 / 0.5198 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1527, allocations: 19.83 kB / 0.5198 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.1527, allocations: 4 kB / 0.5198 GB, free: 7.379 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.0002251/0.1529, allocations: 129.8 kB / 0.52 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.153, allocations: 15.91 kB / 0.52 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.451e-05/0.153, allocations: 21.23 kB / 0.52 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.153, allocations: 0 / 0.52 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.153, allocations: 192 / 0.52 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.153, allocations: 3.938 kB / 0.52 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007218/0.1537, allocations: 412.1 kB / 0.5204 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1538, allocations: 0 / 0.5204 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.1538, allocations: 12.08 kB / 0.5204 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1538, allocations: 12.17 kB / 0.5204 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1539, allocations: 0 / 0.5204 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.1539, allocations: 3.938 kB / 0.5204 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.1539, allocations: 4 kB / 0.5204 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.1542, allocations: 201.1 kB / 0.5206 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-05/0.1543, allocations: 97.06 kB / 0.5207 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.1544, allocations: 7.922 kB / 0.5207 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-05/0.1545, allocations: 8 kB / 0.5207 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.851e-05/0.1545, allocations: 0 / 0.5207 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.1545, allocations: 4 kB / 0.5207 GB, free: 6.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.1547, allocations: 164.5 kB / 0.5209 GB, free: 6.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1547, allocations: 0 / 0.5209 GB, free: 6.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.155, allocations: 35.94 kB / 0.5209 GB, free: 6.156 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.0007787/0.1558, allocations: 0.7296 MB / 0.5216 GB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.156, allocations: 43.92 kB / 0.5217 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.156, allocations: 0 / 0.5217 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.844e-05/0.156, allocations: 24.11 kB / 0.5217 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.1564, allocations: 36.77 kB / 0.5217 GB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.1594, allocations: 1.982 MB / 0.5237 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.1599, allocations: 0.7241 MB / 0.5244 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.324e-05/0.16, allocations: 17.55 kB / 0.5244 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1601, allocations: 51.42 kB / 0.5244 GB, free: 2.379 MB / 382.1 MB Notification: Performance of SimCode: time 1.263e-06/0.1601, allocations: 0 / 0.5244 GB, free: 2.379 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.1822, allocations: 3.436 MB / 0.5278 GB, free: 15.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/8.509, allocations: 3.25 kB / 0.5278 GB, free: 15.04 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.591648082016036] Failed to read output from testmodel.py, exit status != 0: 8.639968229981605 8.657310159 8.507951937 Calling exit ...