Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.001281/0.001281, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.001742/0.001742, allocations: 215 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.255/0.255, allocations: 44.28 MB / 331.1 MB, free: 9.289 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002247/0.002247, allocations: 75.89 kB / 468.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1348, allocations: 61.03 MB / 0.517 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01771/0.1525, allocations: 12.63 MB / 0.5293 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2901/0.4427, allocations: 23.32 MB / 0.5521 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.4429, allocations: 2.156 kB / 0.5521 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.4434, allocations: 79.41 kB / 0.5521 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03014/0.4735, allocations: 8.479 MB / 0.5604 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.475, allocations: 351.6 kB / 0.5608 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00736/0.4824, allocations: 2.012 MB / 0.5627 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.4825, allocations: 17.34 kB / 0.5627 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007978/0.4833, allocations: 247.2 kB / 0.563 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.4934, allocations: 3.266 MB / 0.5662 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.742e-05/0.4935, allocations: 13.53 kB / 0.5662 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03676/0.5303, allocations: 11.54 MB / 0.5774 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.5305, allocations: 51.77 kB / 0.5775 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003903/0.5309, allocations: 122.9 kB / 0.5776 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03169/0.5626, allocations: 6.738 MB / 0.5842 GB, free: 10.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.5626, allocations: 0 / 0.5842 GB, free: 10.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5626, allocations: 1.375 kB / 0.5842 GB, free: 10.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.5626, allocations: 0 / 0.5842 GB, free: 10.06 MB / 430.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.007551/0.5702, allocations: 1.585 MB / 0.5857 GB, free: 8.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.5702, allocations: 9.625 kB / 0.5858 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.816e-05/0.5702, allocations: 10.62 kB / 0.5858 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.373e-05/0.5703, allocations: 69.06 kB / 0.5858 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.572, allocations: 190.8 kB / 0.586 GB, free: 8.832 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.5725, allocations: 210.4 kB / 0.5862 GB, free: 8.625 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.5725, allocations: 24.56 kB / 0.5862 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.5726, allocations: 33.64 kB / 0.5863 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.5752, allocations: 0.8121 MB / 0.5871 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.5752, allocations: 0 / 0.5871 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/0.5752, allocations: 17.62 kB / 0.5871 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.5752, allocations: 7.562 kB / 0.5871 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.5775, allocations: 0.8164 MB / 0.5879 GB, free: 7.641 MB / 430.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.003593/0.5811, allocations: 2.143 MB / 0.59 GB, free: 5.836 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.5824, allocations: 341.2 kB / 0.5903 GB, free: 5.656 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.5826, allocations: 73.27 kB / 0.5904 GB, free: 5.617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3625/0.945, allocations: 99.2 MB / 0.6872 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/0.9465, allocations: 453.2 kB / 0.6877 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 2.435e-06/0.9465, allocations: 0 / 0.6877 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.004299/0.9508, allocations: 1.133 MB / 0.6888 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000219/0.9511, allocations: 379.8 kB / 0.6891 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.9513, allocations: 186.5 kB / 0.6893 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.9513, allocations: 33.7 kB / 0.6894 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.9514, allocations: 193.2 kB / 0.6895 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.9516, allocations: 123 kB / 0.6897 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.9518, allocations: 126 kB / 0.6898 GB, free: 424 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.9519, allocations: 338.8 kB / 0.6901 GB, free: 76 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.9521, allocations: 81.02 kB / 0.6902 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.9526, allocations: 344.7 kB / 0.6905 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007018/0.9533, allocations: 479.5 kB / 0.691 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.9533, allocations: 4 kB / 0.691 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009266/0.9542, allocations: 477.3 kB / 0.6914 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.9542, allocations: 8 kB / 0.6914 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.9543, allocations: 12 kB / 0.6914 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-05/0.9543, allocations: 12 kB / 0.6915 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.956, allocations: 207.7 kB / 0.6917 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007522/0.9567, allocations: 1.188 MB / 0.6928 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.9571, allocations: 24.05 kB / 0.6928 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/0.9571, allocations: 43.98 kB / 0.6929 GB, free: 12.92 MB / 0.5294 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.0002354/0.9574, allocations: 167.7 kB / 0.693 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.9575, allocations: 27.86 kB / 0.6931 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003415/0.9609, allocations: 2.986 MB / 0.696 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.27e-05/0.9609, allocations: 19.97 kB / 0.696 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.9609, allocations: 4 kB / 0.696 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.9609, allocations: 8.594 kB / 0.696 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.9621, allocations: 0.956 MB / 0.6969 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.9621, allocations: 4.75 kB / 0.697 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005872/0.9627, allocations: 96.58 kB / 0.697 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002179/0.9629, allocations: 171.5 kB / 0.6972 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.9629, allocations: 11.98 kB / 0.6972 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004643/0.9634, allocations: 0.6479 MB / 0.6979 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.9634, allocations: 10.69 kB / 0.6979 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.9648, allocations: 0.9799 MB / 0.6988 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.591e-05/0.9649, allocations: 64.3 kB / 0.6989 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.965, allocations: 91.14 kB / 0.699 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.9654, allocations: 28.02 kB / 0.699 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.9654, allocations: 31.89 kB / 0.699 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.9654, allocations: 12 kB / 0.699 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006205/0.9661, allocations: 475 kB / 0.6995 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.9661, allocations: 0 / 0.6995 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005597/0.9717, allocations: 1.625 MB / 0.7011 GB, free: 4.379 MB / 0.5294 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.01119/0.9829, allocations: 3.159 MB / 0.7042 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001917/0.9848, allocations: 0.54 MB / 0.7047 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.9848, allocations: 0 / 0.7047 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004881/0.9853, allocations: 301.5 kB / 0.705 GB, free: 344 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009264/0.9862, allocations: 133.9 kB / 0.7051 GB, free: 208 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9917/1.978, allocations: 352.5 MB / 1.049 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/1.978, allocations: 399.8 kB / 1.05 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001013/1.979, allocations: 0.5057 MB / 1.05 GB, free: 179.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004933/1.98, allocations: 315.3 kB / 1.05 GB, free: 179 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/1.98, allocations: 0 / 1.05 GB, free: 179 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1287/2.108, allocations: 67.15 MB / 1.116 GB, free: 111.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.3/20.41, allocations: 7.797 kB / 1.116 GB, free: 111.9 MB / 0.5919 GB " [Timeout remaining time 639] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.598074050969444] 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'] 20.637259596027434 20.653081957 20.087015542 Calling exit ...