Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.001289/0.001289, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001435/0.001435, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.439/1.439, allocations: 230.5 MB / 258.2 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2434/0.2434, allocations: 46.94 MB / 361.6 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 83.86 kB / 0.497 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3357, allocations: 66.08 MB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01723/0.3529, allocations: 14.05 MB / 0.5753 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03276/0.3857, allocations: 26.76 MB / 0.6014 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.3859, allocations: 4 kB / 0.6014 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.3862, allocations: 99.31 kB / 0.6015 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02219/0.4084, allocations: 8.559 MB / 0.6099 GB, free: 2.652 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009097/0.4093, allocations: 350.3 kB / 0.6102 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004059/0.4134, allocations: 2.021 MB / 0.6122 GB, free: 272 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.682e-05/0.4134, allocations: 12.59 kB / 0.6122 GB, free: 256 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.414, allocations: 282.9 kB / 0.6125 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006206/0.4202, allocations: 3.273 MB / 0.6157 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.769e-05/0.4202, allocations: 8 kB / 0.6157 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02072/0.441, allocations: 10.87 MB / 0.6263 GB, free: 1.758 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.4411, allocations: 55.69 kB / 0.6263 GB, free: 1.703 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.4413, allocations: 143.3 kB / 0.6265 GB, free: 1.562 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01523/0.4565, allocations: 6.334 MB / 0.6326 GB, free: 11.21 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4566, allocations: 4 kB / 0.6327 GB, free: 11.21 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4566, allocations: 0 / 0.6327 GB, free: 11.21 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.4566, allocations: 4 kB / 0.6327 GB, free: 11.21 MB / 478.1 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.004705/0.4613, allocations: 1.537 MB / 0.6342 GB, free: 9.633 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4613, allocations: 8.031 kB / 0.6342 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.963e-05/0.4614, allocations: 70.72 kB / 0.6342 GB, free: 9.547 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.4631, allocations: 224.5 kB / 0.6344 GB, free: 9.328 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.4634, allocations: 210.2 kB / 0.6346 GB, free: 9.098 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.4634, allocations: 25.03 kB / 0.6347 GB, free: 9.074 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.4635, allocations: 31.94 kB / 0.6347 GB, free: 9.043 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.4658, allocations: 0.829 MB / 0.6355 GB, free: 8.168 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4658, allocations: 4 kB / 0.6355 GB, free: 8.164 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.4659, allocations: 16 kB / 0.6355 GB, free: 8.148 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.4659, allocations: 8 kB / 0.6355 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.4684, allocations: 0.9352 MB / 0.6364 GB, free: 7.207 MB / 478.1 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.003123/0.4715, allocations: 2.296 MB / 0.6387 GB, free: 4.766 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.4729, allocations: 382.1 kB / 0.6391 GB, free: 4.383 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.473, allocations: 72.81 kB / 0.6391 GB, free: 4.309 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.827/1.3, allocations: 160.4 MB / 0.7958 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/1.301, allocations: 473.7 kB / 0.7962 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/1.301, allocations: 0 / 0.7962 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002747/1.304, allocations: 0.7836 MB / 0.797 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/1.304, allocations: 375.7 kB / 0.7973 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/1.304, allocations: 183.2 kB / 0.7975 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/1.304, allocations: 33.7 kB / 0.7975 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/1.304, allocations: 191.4 kB / 0.7977 GB, free: 114 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/1.304, allocations: 114 kB / 0.7978 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/1.305, allocations: 122.1 kB / 0.7979 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/1.305, allocations: 334.6 kB / 0.7983 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/1.305, allocations: 84.94 kB / 0.7983 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/1.305, allocations: 348 kB / 0.7987 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/1.306, allocations: 478.4 kB / 0.7991 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.306, allocations: 4.844 kB / 0.7991 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007649/1.306, allocations: 471.8 kB / 0.7996 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.306, allocations: 10.34 kB / 0.7996 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.306, allocations: 12 kB / 0.7996 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/1.306, allocations: 12 kB / 0.7996 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/1.307, allocations: 136.4 kB / 0.7998 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/1.307, allocations: 23.86 kB / 0.7998 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/1.307, allocations: 59.2 kB / 0.7998 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/1.307, allocations: 43.97 kB / 0.7999 GB, free: 111.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.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 (58): * Single equations (assignments): 58 * 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.0001253/1.307, allocations: 169.9 kB / 0.8 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.222e-05/1.307, allocations: 23.86 kB / 0.8001 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/1.31, allocations: 2.753 MB / 0.8027 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/1.31, allocations: 23.97 kB / 0.8028 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.31, allocations: 4 kB / 0.8028 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/1.31, allocations: 4 kB / 0.8028 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009604/1.311, allocations: 0.9335 MB / 0.8037 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.311, allocations: 4 kB / 0.8037 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/1.311, allocations: 75.88 kB / 0.8038 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/1.311, allocations: 4 kB / 0.8038 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/1.311, allocations: 11.98 kB / 0.8038 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/1.311, allocations: 4 kB / 0.8038 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.311, allocations: 7.938 kB / 0.8038 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009431/1.312, allocations: 0.7273 MB / 0.8045 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/1.312, allocations: 47.58 kB / 0.8045 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/1.312, allocations: 108.2 kB / 0.8046 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/1.313, allocations: 23.92 kB / 0.8047 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/1.313, allocations: 31.89 kB / 0.8047 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/1.313, allocations: 19.98 kB / 0.8047 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005586/1.313, allocations: 0.504 MB / 0.8052 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.313, allocations: 0 / 0.8052 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004932/1.318, allocations: 1.528 MB / 0.8067 GB, free: 104.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.007518/1.326, allocations: 2.915 MB / 0.8096 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008106/1.327, allocations: 415 kB / 0.8099 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.327, allocations: 4 kB / 0.81 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002554/1.327, allocations: 226.8 kB / 0.8102 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007822/1.328, allocations: 139.9 kB / 0.8103 GB, free: 101 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.265/2.593, allocations: 0.6073 GB / 1.418 GB, free: 49.57 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/2.593, allocations: 0.9895 MB / 1.419 GB, free: 48.55 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005709/2.594, allocations: 0.5242 MB / 1.419 GB, free: 48.04 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/2.594, allocations: 340 kB / 1.419 GB, free: 47.71 MB / 0.6387 GB Notification: Performance of SimCode: time 9.02e-07/2.594, allocations: 0 / 1.419 GB, free: 47.71 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.365/2.959, allocations: 64.11 MB / 1.482 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/16.15, allocations: 1.516 kB / 1.482 GB, free: 208.6 MB / 0.6387 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_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_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.172240413259715] 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'] 16.272660133894533 16.282516662 15.823588312 Calling exit ...