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.001311/0.001311, 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.002327/0.002327, 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.483/1.483, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2326/0.2326, allocations: 46.93 MB / 361.6 MB, free: 4.191 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.002311/0.002311, allocations: 83.86 kB / 0.497 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3721, allocations: 66.09 MB / 0.5616 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01939/0.3915, allocations: 14.04 MB / 0.5753 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03611/0.4276, allocations: 26.77 MB / 0.6014 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003405/0.4279, allocations: 3.938 kB / 0.6014 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.4284, allocations: 99.38 kB / 0.6015 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.024/0.4524, allocations: 8.562 MB / 0.6099 GB, free: 2.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000975/0.4534, allocations: 357.4 kB / 0.6102 GB, free: 2.336 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004289/0.4577, allocations: 2.006 MB / 0.6122 GB, free: 312 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.095e-05/0.4578, allocations: 24.58 kB / 0.6122 GB, free: 284 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004987/0.4583, allocations: 278.8 kB / 0.6125 GB, free: 4 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006347/0.4646, allocations: 3.278 MB / 0.6157 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.959e-05/0.4647, allocations: 12 kB / 0.6157 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02176/0.4865, allocations: 10.85 MB / 0.6263 GB, free: 1.789 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.4866, allocations: 55.73 kB / 0.6263 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.4868, allocations: 139.3 kB / 0.6265 GB, free: 1.598 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0169/0.5037, allocations: 6.337 MB / 0.6326 GB, free: 11.25 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.5037, allocations: 0 / 0.6326 GB, free: 11.25 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5037, allocations: 0 / 0.6326 GB, free: 11.25 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.5037, allocations: 4 kB / 0.6327 GB, free: 11.24 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.004973/0.5087, allocations: 1.537 MB / 0.6342 GB, free: 9.668 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.5087, allocations: 12.03 kB / 0.6342 GB, free: 9.656 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.41e-05/0.5088, allocations: 70.72 kB / 0.6342 GB, free: 9.578 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.5106, allocations: 224.5 kB / 0.6344 GB, free: 9.359 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.511, allocations: 214.1 kB / 0.6347 GB, free: 9.125 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.511, allocations: 29.03 kB / 0.6347 GB, free: 9.098 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.5111, allocations: 31.94 kB / 0.6347 GB, free: 9.066 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.5135, allocations: 0.8212 MB / 0.6355 GB, free: 8.199 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.5135, allocations: 0 / 0.6355 GB, free: 8.199 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/0.5136, allocations: 20 kB / 0.6355 GB, free: 8.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.5136, allocations: 8 kB / 0.6355 GB, free: 8.172 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.5161, allocations: 0.939 MB / 0.6365 GB, free: 7.234 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.003415/0.5195, allocations: 2.292 MB / 0.6387 GB, free: 4.797 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.521, allocations: 374.1 kB / 0.639 GB, free: 4.422 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.5212, allocations: 76.84 kB / 0.6391 GB, free: 4.344 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8942/1.415, allocations: 160.4 MB / 0.7957 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/1.417, allocations: 478.2 kB / 0.7962 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.414e-06/1.417, allocations: 0 / 0.7962 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.00277/1.42, allocations: 0.7827 MB / 0.797 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/1.42, allocations: 380.8 kB / 0.7973 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/1.42, allocations: 180.5 kB / 0.7975 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/1.42, allocations: 33.7 kB / 0.7975 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/1.42, allocations: 184.2 kB / 0.7977 GB, free: 114 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/1.42, allocations: 126.8 kB / 0.7978 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/1.42, allocations: 126.1 kB / 0.798 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.053e-05/1.42, allocations: 330.6 kB / 0.7983 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/1.42, allocations: 84.92 kB / 0.7983 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/1.42, allocations: 344.1 kB / 0.7987 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/1.421, allocations: 483.3 kB / 0.7991 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.421, allocations: 0 / 0.7991 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007573/1.422, allocations: 477.6 kB / 0.7996 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.422, allocations: 8 kB / 0.7996 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.422, allocations: 8 kB / 0.7996 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/1.422, allocations: 12 kB / 0.7996 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/1.422, allocations: 139.8 kB / 0.7998 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/1.422, allocations: 23.92 kB / 0.7998 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/1.422, allocations: 45.09 kB / 0.7998 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/1.423, allocations: 47.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.0001323/1.423, allocations: 168.8 kB / 0.8 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/1.423, allocations: 27.86 kB / 0.8001 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/1.425, allocations: 2.753 MB / 0.8027 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/1.425, allocations: 18.89 kB / 0.8028 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.425, allocations: 4 kB / 0.8028 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.425, allocations: 11.23 kB / 0.8028 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007693/1.426, allocations: 0.9377 MB / 0.8037 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.426, allocations: 4 kB / 0.8037 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/1.426, allocations: 71.88 kB / 0.8038 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/1.426, allocations: 4 kB / 0.8038 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/1.426, allocations: 15.98 kB / 0.8038 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/1.426, allocations: 4 kB / 0.8038 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.426, allocations: 7.938 kB / 0.8038 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000779/1.427, allocations: 0.7243 MB / 0.8045 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/1.427, allocations: 52.22 kB / 0.8045 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/1.427, allocations: 103 kB / 0.8046 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/1.427, allocations: 19.98 kB / 0.8047 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/1.427, allocations: 35.89 kB / 0.8047 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/1.427, allocations: 15.98 kB / 0.8047 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004655/1.428, allocations: 0.5038 MB / 0.8052 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.428, allocations: 3.938 kB / 0.8052 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004022/1.432, allocations: 1.532 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.007625/1.439, allocations: 2.908 MB / 0.8095 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000831/1.44, allocations: 417.6 kB / 0.8099 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.44, allocations: 4.062 kB / 0.81 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/1.44, allocations: 232.7 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.0007803/1.441, allocations: 133.7 kB / 0.8103 GB, free: 101 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.31/2.752, allocations: 0.6073 GB / 1.418 GB, free: 65.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/2.752, allocations: 0.9817 MB / 1.419 GB, free: 64.83 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006028/2.753, allocations: 0.5301 MB / 1.419 GB, free: 64.31 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/2.753, allocations: 335.3 kB / 1.419 GB, free: 63.98 MB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/2.753, allocations: 3.938 kB / 1.419 GB, free: 63.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3605/3.113, allocations: 64.11 MB / 1.482 GB, free: 245 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/16.14, allocations: 4.922 kB / 1.482 GB, free: 245 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 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.020419870968908] 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.264322767034173 16.276202281 15.768388749 Calling exit ...