Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008564/0.0008564, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009453/0.0009453, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.885/0.885, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 34.23 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 442.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.955e-05, allocations: 10.22 kB / 442.2 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.1619/0.1619, allocations: 12.71 MB / 454.9 MB, free: 36.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.1753, allocations: 23.36 MB / 478.3 MB, free: 21.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1755, allocations: 3.094 kB / 478.3 MB, free: 21.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.1757, allocations: 81.27 kB / 478.4 MB, free: 21.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01368/0.1894, allocations: 8.633 MB / 487 MB, free: 17.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.1899, allocations: 361.1 kB / 487.3 MB, free: 17.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001859/0.1918, allocations: 2.021 MB / 489.4 MB, free: 16.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.1918, allocations: 18.83 kB / 489.4 MB, free: 16.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003552/0.1922, allocations: 311 kB / 489.7 MB, free: 16.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.1951, allocations: 3.256 MB / 492.9 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.1951, allocations: 10.47 kB / 493 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01502/0.2102, allocations: 11.1 MB / 0.4922 GB, free: 12.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.466e-05/0.2102, allocations: 45.69 kB / 0.4923 GB, free: 12.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.2104, allocations: 106.5 kB / 0.4924 GB, free: 12.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.2217, allocations: 8.571 MB / 0.5008 GB, free: 6.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2217, allocations: 1.219 kB / 0.5008 GB, free: 6.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2217, allocations: 0 / 0.5008 GB, free: 6.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.299e-06/0.2217, allocations: 0 / 0.5008 GB, free: 6.84 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.004382/0.2261, allocations: 1.589 MB / 0.5023 GB, free: 5.758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.2261, allocations: 9.531 kB / 0.5023 GB, free: 5.758 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.2262, allocations: 68.94 kB / 0.5024 GB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008491/0.227, allocations: 189.3 kB / 0.5026 GB, free: 5.609 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.2274, allocations: 215.4 kB / 0.5028 GB, free: 5.398 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.2274, allocations: 25.53 kB / 0.5028 GB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.2274, allocations: 31.62 kB / 0.5028 GB, free: 5.375 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.2287, allocations: 0.8121 MB / 0.5036 GB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2287, allocations: 1.844 kB / 0.5036 GB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.2288, allocations: 12.12 kB / 0.5036 GB, free: 4.801 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.2288, allocations: 9.375 kB / 0.5036 GB, free: 4.801 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.2301, allocations: 0.805 MB / 0.5044 GB, free: 4.418 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.2322, allocations: 2.126 MB / 0.5065 GB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.2329, allocations: 336.4 kB / 0.5068 GB, free: 2.449 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/0.233, allocations: 67.14 kB / 0.5069 GB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1789/0.4119, allocations: 99.95 MB / 0.6045 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008661/0.4127, allocations: 442.1 kB / 0.6049 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.4127, allocations: 0 / 0.6049 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.002334/0.4151, allocations: 1.144 MB / 0.606 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.4152, allocations: 379.8 kB / 0.6064 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.4153, allocations: 190.2 kB / 0.6066 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003497/0.4157, allocations: 29.8 kB / 0.6066 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/0.4158, allocations: 200.1 kB / 0.6068 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/0.4159, allocations: 115 kB / 0.6069 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.416, allocations: 126.1 kB / 0.607 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.4161, allocations: 326.8 kB / 0.6073 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.4162, allocations: 80.94 kB / 0.6074 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.4164, allocations: 344.9 kB / 0.6077 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.4168, allocations: 483.5 kB / 0.6082 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4168, allocations: 7.938 kB / 0.6082 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005361/0.4173, allocations: 472.9 kB / 0.6087 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4174, allocations: 8 kB / 0.6087 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4174, allocations: 19.92 kB / 0.6087 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4174, allocations: 14.59 kB / 0.6087 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007665/0.4182, allocations: 211.7 kB / 0.6089 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005337/0.4187, allocations: 1.19 MB / 0.6101 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.4189, allocations: 19.89 kB / 0.6101 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.4189, allocations: 47.97 kB / 0.6101 GB, free: 9.324 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.419, allocations: 153.7 kB / 0.6103 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.4191, allocations: 27.91 kB / 0.6103 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.4211, allocations: 3.062 MB / 0.6133 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.4212, allocations: 19.97 kB / 0.6133 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4212, allocations: 4 kB / 0.6133 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4212, allocations: 7.984 kB / 0.6133 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009312/0.4221, allocations: 0.949 MB / 0.6143 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4221, allocations: 8 kB / 0.6143 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.4224, allocations: 100.3 kB / 0.6144 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/0.4226, allocations: 160.7 kB / 0.6145 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.4226, allocations: 16 kB / 0.6145 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002797/0.4229, allocations: 0.6459 MB / 0.6152 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4229, allocations: 11.92 kB / 0.6152 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007838/0.4237, allocations: 0.991 MB / 0.6161 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.4237, allocations: 51.53 kB / 0.6162 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.953e-05/0.4238, allocations: 107 kB / 0.6163 GB, free: 2.871 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.424, allocations: 15.25 kB / 0.6163 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.424, allocations: 43.77 kB / 0.6163 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.424, allocations: 15.98 kB / 0.6164 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003593/0.4244, allocations: 471 kB / 0.6168 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.4244, allocations: 0 / 0.6168 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00549/0.4299, allocations: 1.633 MB / 0.6184 GB, free: 0.6992 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006373/0.4362, allocations: 3.411 MB / 0.6217 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008559/0.4371, allocations: 0.5388 MB / 0.6223 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4371, allocations: 4 kB / 0.6223 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.4373, allocations: 303.3 kB / 0.6226 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.4378, allocations: 122.5 kB / 0.6227 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5849/1.023, allocations: 353.3 MB / 0.9677 GB, free: 85.83 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/1.023, allocations: 399.9 kB / 0.968 GB, free: 85.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004291/1.023, allocations: 0.5034 MB / 0.9685 GB, free: 84.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/1.024, allocations: 324.1 kB / 0.9688 GB, free: 84.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.403e-06/1.024, allocations: 0 / 0.9688 GB, free: 84.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0648/1.088, allocations: 67.66 MB / 1.035 GB, free: 17.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.71, allocations: 3.984 kB / 1.035 GB, free: 17.2 MB / 0.5417 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.784507436677814] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eps', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is'] 11.84316361695528 11.853399787 11.629975716 Calling exit ...