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.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.001346/0.001346, allocations: 105.7 kB / 16.45 MB, free: 6.035 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.001283/0.001283, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.404/1.404, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.1205/0.1205, allocations: 22.69 MB / 325.4 MB, free: 3.547 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_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 0.002623/0.002623, allocations: 71.88 kB / 457.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1265, allocations: 58.02 MB / 0.5031 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.00323/0.1297, allocations: 2.099 MB / 0.5052 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003857/0.1301, allocations: 171.4 kB / 0.5053 GB, free: 5.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.1302, allocations: 4 kB / 0.5053 GB, free: 5.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.801e-05/0.1303, allocations: 31.72 kB / 0.5054 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.1304, allocations: 71.39 kB / 0.5054 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.1306, allocations: 39.89 kB / 0.5055 GB, free: 5.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.1308, allocations: 210.9 kB / 0.5057 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.131, allocations: 96.47 kB / 0.5058 GB, free: 4.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1311, allocations: 75.72 kB / 0.5058 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.1313, allocations: 91.5 kB / 0.5059 GB, free: 4.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.1313, allocations: 20 kB / 0.5059 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.957e-05/0.1314, allocations: 12 kB / 0.506 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.1314, allocations: 43.84 kB / 0.506 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.313e-05/0.1315, allocations: 87.55 kB / 0.5061 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.1317, allocations: 199.1 kB / 0.5063 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1317, allocations: 3.938 kB / 0.5063 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1317, allocations: 0 / 0.5063 GB, free: 4.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1318, allocations: 4 kB / 0.5063 GB, free: 4.398 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.0006647/0.1324, allocations: 478.7 kB / 0.5067 GB, free: 3.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1325, allocations: 16.02 kB / 0.5067 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.1325, allocations: 46.75 kB / 0.5068 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.1326, allocations: 28.73 kB / 0.5068 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.1329, allocations: 236.8 kB / 0.507 GB, free: 3.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.1329, allocations: 16.66 kB / 0.5071 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.1329, allocations: 12.38 kB / 0.5071 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.1332, allocations: 132.3 kB / 0.5072 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1332, allocations: 3.938 kB / 0.5072 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1332, allocations: 4 kB / 0.5072 GB, free: 3.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.1332, allocations: 4 kB / 0.5072 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.1334, allocations: 84.8 kB / 0.5073 GB, free: 3.254 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.0009241/0.1343, allocations: 0.648 MB / 0.5079 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1344, allocations: 46.56 kB / 0.508 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.026e-05/0.1345, allocations: 24.94 kB / 0.508 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.1345, allocations: 4 kB / 0.508 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1345, allocations: 30.56 kB / 0.508 GB, free: 2.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1345, allocations: 0 / 0.508 GB, free: 2.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002449/0.1348, allocations: 85.72 kB / 0.5081 GB, free: 2.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1348, allocations: 55.39 kB / 0.5082 GB, free: 2.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.135, allocations: 225 kB / 0.5084 GB, free: 2.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1351, allocations: 25.7 kB / 0.5084 GB, free: 1.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1352, allocations: 152.1 kB / 0.5085 GB, free: 1.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.1352, allocations: 19.84 kB / 0.5086 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.1353, allocations: 25.66 kB / 0.5086 GB, free: 1.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1354, allocations: 330.8 kB / 0.5089 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.1355, allocations: 19.98 kB / 0.5089 GB, free: 1.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-05/0.1355, allocations: 55.34 kB / 0.509 GB, free: 1.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.1358, allocations: 87.36 kB / 0.5091 GB, free: 1.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1358, allocations: 0 / 0.5091 GB, free: 1.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.136, allocations: 113.5 kB / 0.5092 GB, free: 1.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.136, allocations: 6.656 kB / 0.5092 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.136, allocations: 4 kB / 0.5092 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.136, allocations: 4.062 kB / 0.5092 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.1363, allocations: 39.98 kB / 0.5092 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1363, allocations: 7.984 kB / 0.5092 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.381e-05/0.1364, allocations: 15.83 kB / 0.5092 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1364, allocations: 7.938 kB / 0.5092 GB, free: 1.055 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.0001414/0.1365, allocations: 129.8 kB / 0.5094 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.1366, allocations: 11.91 kB / 0.5094 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.1366, allocations: 21.48 kB / 0.5094 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1366, allocations: 4 kB / 0.5094 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1366, allocations: 3.938 kB / 0.5094 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1366, allocations: 3.938 kB / 0.5094 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.1372, allocations: 416.1 kB / 0.5098 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1372, allocations: 0 / 0.5098 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.448e-05/0.1373, allocations: 8 kB / 0.5098 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1373, allocations: 0 / 0.5098 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1373, allocations: 7.938 kB / 0.5098 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1373, allocations: 3.938 kB / 0.5098 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1373, allocations: 3.984 kB / 0.5098 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.1375, allocations: 193.3 kB / 0.51 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.1376, allocations: 101 kB / 0.5101 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.1376, allocations: 3.938 kB / 0.5101 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.1377, allocations: 0 / 0.5101 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.1377, allocations: 4 kB / 0.5101 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1378, allocations: 3.984 kB / 0.5101 GB, free: 36 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2181/0.3558, allocations: 164.6 kB / 0.5103 GB, free: 15.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3558, allocations: 0.5938 kB / 0.5103 GB, free: 15.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000444/0.3563, allocations: 37.42 kB / 0.5103 GB, free: 15.53 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.00043/0.3567, allocations: 0.7238 MB / 0.511 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.3569, allocations: 48.41 kB / 0.5111 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3569, allocations: 1.438 kB / 0.5111 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.214e-05/0.3569, allocations: 20.67 kB / 0.5111 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3572, allocations: 30.8 kB / 0.5111 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.3592, allocations: 1.985 MB / 0.5131 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.3594, allocations: 0.7233 MB / 0.5138 GB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.047e-05/0.3594, allocations: 20.67 kB / 0.5138 GB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.3595, allocations: 51.34 kB / 0.5138 GB, free: 12.84 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3595, allocations: 3.375 kB / 0.5138 GB, free: 12.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.3861, allocations: 3.404 MB / 0.5172 GB, free: 12.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/8.046, allocations: 5.719 kB / 0.5172 GB, free: 12.4 MB / 382.1 MB " [Timeout remaining time 652] (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: 10.665777887683362] Failed to read output from testmodel.py, exit status != 0: 8.118139909114689 8.129419595 7.995139494 Calling exit ...