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.0007855/0.0007855, 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.0008441/0.0008441, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8792/0.8792, allocations: 177 MB / 204.1 MB, free: 5.758 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.2357/0.2357, allocations: 34.25 MB / 294.8 MB, free: 0.6797 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 1.673e-06/1.673e-06, allocations: 0 / 442.2 MB, free: 1.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.092e-05, allocations: 2.281 kB / 442.2 MB, free: 1.516 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.1874/0.1875, allocations: 12.7 MB / 454.9 MB, free: 36.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01464/0.2021, allocations: 23.36 MB / 478.3 MB, free: 21.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.2023, allocations: 3.219 kB / 478.3 MB, free: 21.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.2027, allocations: 85.39 kB / 478.4 MB, free: 21.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01714/0.2198, allocations: 8.634 MB / 487 MB, free: 17.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.2204, allocations: 358.5 kB / 487.3 MB, free: 17.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002171/0.2226, allocations: 2.018 MB / 489.4 MB, free: 16.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.697e-05/0.2226, allocations: 19.2 kB / 489.4 MB, free: 16.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.2231, allocations: 314.7 kB / 489.7 MB, free: 16.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003697/0.2267, allocations: 3.256 MB / 492.9 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-05/0.2268, allocations: 9.906 kB / 493 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01818/0.245, allocations: 11.1 MB / 0.4922 GB, free: 12.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.2451, allocations: 48.41 kB / 0.4923 GB, free: 12.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.2454, allocations: 111.2 kB / 0.4924 GB, free: 12.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01752/0.2629, allocations: 8.571 MB / 0.5008 GB, free: 6.867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2629, allocations: 0 / 0.5008 GB, free: 6.867 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2629, allocations: 1.156 kB / 0.5008 GB, free: 6.867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2629, allocations: 0 / 0.5008 GB, free: 6.867 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.004692/0.2676, allocations: 1.583 MB / 0.5023 GB, free: 5.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2677, allocations: 10.47 kB / 0.5023 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.2677, allocations: 69.41 kB / 0.5024 GB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008939/0.2686, allocations: 189 kB / 0.5026 GB, free: 5.641 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.2689, allocations: 214.1 kB / 0.5028 GB, free: 5.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.269, allocations: 26.78 kB / 0.5028 GB, free: 5.418 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.269, allocations: 30.89 kB / 0.5028 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.2702, allocations: 0.8125 MB / 0.5036 GB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2702, allocations: 1.5 kB / 0.5036 GB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.2703, allocations: 19.81 kB / 0.5036 GB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.2703, allocations: 9.062 kB / 0.5036 GB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.2714, allocations: 0.8138 MB / 0.5044 GB, free: 4.434 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.001897/0.2733, allocations: 2.117 MB / 0.5065 GB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006826/0.274, allocations: 343.4 kB / 0.5068 GB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.2741, allocations: 68.61 kB / 0.5069 GB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1854/0.4594, allocations: 99.95 MB / 0.6045 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007675/0.4602, allocations: 446.2 kB / 0.6049 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 1.744e-06/0.4602, allocations: 0 / 0.6049 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.002114/0.4623, allocations: 1.142 MB / 0.606 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.4624, allocations: 375.8 kB / 0.6064 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.4626, allocations: 190.2 kB / 0.6066 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.4626, allocations: 29.7 kB / 0.6066 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.4627, allocations: 196.1 kB / 0.6068 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/0.4628, allocations: 123 kB / 0.6069 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.4629, allocations: 122.8 kB / 0.607 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.447e-05/0.4629, allocations: 326.8 kB / 0.6073 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.463, allocations: 88.88 kB / 0.6074 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.4633, allocations: 340.9 kB / 0.6078 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.4636, allocations: 483.5 kB / 0.6082 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4637, allocations: 4 kB / 0.6082 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005427/0.4642, allocations: 477.4 kB / 0.6087 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4642, allocations: 8 kB / 0.6087 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4642, allocations: 15.94 kB / 0.6087 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.4642, allocations: 12 kB / 0.6087 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/0.465, allocations: 211.7 kB / 0.6089 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004465/0.4654, allocations: 1.182 MB / 0.6101 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.4656, allocations: 24.3 kB / 0.6101 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.4656, allocations: 51.97 kB / 0.6101 GB, free: 9.359 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.0001406/0.4658, allocations: 153.7 kB / 0.6103 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.4658, allocations: 23.91 kB / 0.6103 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/0.4678, allocations: 3.066 MB / 0.6133 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.4678, allocations: 23.97 kB / 0.6133 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4678, allocations: 4 kB / 0.6133 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4678, allocations: 7.984 kB / 0.6133 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/0.4685, allocations: 0.9565 MB / 0.6143 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4685, allocations: 0 / 0.6143 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.4688, allocations: 96.34 kB / 0.6144 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.469, allocations: 168.6 kB / 0.6145 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.469, allocations: 16.19 kB / 0.6145 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003031/0.4693, allocations: 0.646 MB / 0.6152 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.4693, allocations: 11.92 kB / 0.6152 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008124/0.4701, allocations: 0.987 MB / 0.6161 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.4702, allocations: 55.47 kB / 0.6162 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.4703, allocations: 107 kB / 0.6163 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.4704, allocations: 11.34 kB / 0.6163 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.4704, allocations: 39.89 kB / 0.6164 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.4705, allocations: 19.98 kB / 0.6164 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003942/0.4709, allocations: 471 kB / 0.6168 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.4709, allocations: 0 / 0.6168 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005342/0.4762, allocations: 1.633 MB / 0.6184 GB, free: 0.7305 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.006893/0.4831, allocations: 3.411 MB / 0.6217 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009153/0.484, allocations: 0.5317 MB / 0.6223 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.484, allocations: 8.25 kB / 0.6223 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.4843, allocations: 305.9 kB / 0.6226 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.4848, allocations: 126.2 kB / 0.6227 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6064/1.091, allocations: 353.3 MB / 0.9677 GB, free: 86.26 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/1.091, allocations: 394 kB / 0.9681 GB, free: 85.85 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000429/1.092, allocations: 0.4991 MB / 0.9685 GB, free: 85.36 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/1.092, allocations: 316.4 kB / 0.9688 GB, free: 85.05 MB / 0.5417 GB Notification: Performance of SimCode: time 2.415e-06/1.092, allocations: 4 kB / 0.9688 GB, free: 85.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07175/1.164, allocations: 67.66 MB / 1.035 GB, free: 17.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11.43, allocations: 7.969 kB / 1.035 GB, free: 17.64 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 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.385906583629549] 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.565208116546273 11.571073041 11.306447141 Calling exit ...