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.001698/0.001698, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002129/0.002129, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.459/1.459, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2241/0.2241, allocations: 46.9 MB / 357.4 MB, free: 10.49 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.00313/0.00313, allocations: 83.86 kB / 0.4913 GB, free: 8.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1562, allocations: 65.99 MB / 0.5557 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01916/0.1753, allocations: 13.97 MB / 0.5694 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3124/0.4877, allocations: 26.69 MB / 0.5954 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.4879, allocations: 1.688 kB / 0.5954 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.4883, allocations: 88.81 kB / 0.5955 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02304/0.5113, allocations: 8.554 MB / 0.6039 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.5125, allocations: 349.1 kB / 0.6042 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004496/0.5169, allocations: 2.012 MB / 0.6062 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.017e-05/0.517, allocations: 13.7 kB / 0.6062 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004923/0.5175, allocations: 261.5 kB / 0.6064 GB, free: 3.039 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005908/0.5234, allocations: 3.281 MB / 0.6096 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.5235, allocations: 10.25 kB / 0.6096 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02387/0.5473, allocations: 10.85 MB / 0.6202 GB, free: 28 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.5475, allocations: 54.64 kB / 0.6203 GB, free: 0 / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.5479, allocations: 136.5 kB / 0.6204 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02112/0.569, allocations: 6.341 MB / 0.6266 GB, free: 12.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.569, allocations: 2.969 kB / 0.6266 GB, free: 12.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.569, allocations: 3.844 kB / 0.6266 GB, free: 12.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.569, allocations: 0 / 0.6266 GB, free: 12.39 MB / 462.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.005814/0.5748, allocations: 1.603 MB / 0.6282 GB, free: 11.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5749, allocations: 12.55 kB / 0.6282 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.019e-05/0.5749, allocations: 65.02 kB / 0.6282 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.5767, allocations: 226.4 kB / 0.6285 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.5771, allocations: 284.7 kB / 0.6287 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.5772, allocations: 27.56 kB / 0.6288 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.5772, allocations: 32.02 kB / 0.6288 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.5796, allocations: 0.8167 MB / 0.6296 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.5796, allocations: 0.9062 kB / 0.6296 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.5796, allocations: 20.94 kB / 0.6296 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.5796, allocations: 8.125 kB / 0.6296 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.582, allocations: 0.9347 MB / 0.6305 GB, free: 9.805 MB / 462.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.003465/0.5855, allocations: 2.577 MB / 0.633 GB, free: 7.441 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.5868, allocations: 357.8 kB / 0.6334 GB, free: 7.258 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.587, allocations: 73.72 kB / 0.6335 GB, free: 7.219 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9013/1.488, allocations: 241.3 MB / 0.8691 GB, free: 256.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002198/1.491, allocations: 476.4 kB / 0.8695 GB, free: 256.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=32): time 3.216e-06/1.491, allocations: 0 / 0.8695 GB, free: 256.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=32): time 0.004321/1.495, allocations: 0.7787 MB / 0.8703 GB, free: 256.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/1.495, allocations: 377.4 kB / 0.8706 GB, free: 255.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/1.495, allocations: 183.3 kB / 0.8708 GB, free: 255.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/1.495, allocations: 34.11 kB / 0.8708 GB, free: 255.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/1.495, allocations: 183.5 kB / 0.871 GB, free: 255.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.693e-05/1.495, allocations: 122.7 kB / 0.8711 GB, free: 255.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/1.495, allocations: 124 kB / 0.8713 GB, free: 255.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.3e-05/1.495, allocations: 331.9 kB / 0.8716 GB, free: 255 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/1.496, allocations: 88.7 kB / 0.8717 GB, free: 255 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/1.496, allocations: 344.7 kB / 0.872 GB, free: 254.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005634/1.497, allocations: 477.4 kB / 0.8724 GB, free: 254.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/1.497, allocations: 3.25 kB / 0.8724 GB, free: 254.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000837/1.497, allocations: 482.5 kB / 0.8729 GB, free: 254 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.497, allocations: 8.219 kB / 0.8729 GB, free: 254 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.497, allocations: 14.14 kB / 0.8729 GB, free: 254 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/1.497, allocations: 11.19 kB / 0.8729 GB, free: 254 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/1.498, allocations: 136.4 kB / 0.8731 GB, free: 254 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/1.498, allocations: 21.98 kB / 0.8731 GB, free: 254 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/1.498, allocations: 48.36 kB / 0.8731 GB, free: 254 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/1.498, allocations: 41.84 kB / 0.8732 GB, free: 254 MB / 0.67 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.0001381/1.498, allocations: 172.2 kB / 0.8733 GB, free: 253.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/1.498, allocations: 27.2 kB / 0.8734 GB, free: 253.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/1.5, allocations: 2.606 MB / 0.8759 GB, free: 252.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/1.5, allocations: 19.91 kB / 0.8759 GB, free: 252.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.5, allocations: 4.844 kB / 0.8759 GB, free: 252.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.501, allocations: 5.516 kB / 0.8759 GB, free: 252.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006369/1.501, allocations: 0.9369 MB / 0.8768 GB, free: 251.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/1.501, allocations: 3.938 kB / 0.8769 GB, free: 251.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/1.501, allocations: 71.38 kB / 0.8769 GB, free: 251.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/1.501, allocations: 3.969 kB / 0.8769 GB, free: 251.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/1.501, allocations: 21.98 kB / 0.8769 GB, free: 251.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/1.501, allocations: 3.969 kB / 0.8769 GB, free: 251.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.501, allocations: 7.906 kB / 0.877 GB, free: 251.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/1.502, allocations: 0.7065 MB / 0.8776 GB, free: 251.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/1.502, allocations: 123.8 kB / 0.8778 GB, free: 251.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/1.502, allocations: 111 kB / 0.8779 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/1.503, allocations: 19.92 kB / 0.8779 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/1.503, allocations: 31.83 kB / 0.8779 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/1.503, allocations: 14.41 kB / 0.8779 GB, free: 251 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000434/1.503, allocations: 0.5027 MB / 0.8784 GB, free: 250.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.503, allocations: 0 / 0.8784 GB, free: 250.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004213/1.507, allocations: 1.54 MB / 0.8799 GB, free: 250.3 MB / 0.67 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.008215/1.516, allocations: 2.893 MB / 0.8828 GB, free: 247.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007909/1.516, allocations: 413 kB / 0.8831 GB, free: 247.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.516, allocations: 0 / 0.8831 GB, free: 247.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/1.517, allocations: 224.7 kB / 0.8834 GB, free: 246.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008629/1.518, allocations: 132.5 kB / 0.8835 GB, free: 246.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.284/2.802, allocations: 0.6073 GB / 1.491 GB, free: 106.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/2.802, allocations: 0.9817 MB / 1.492 GB, free: 105.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006221/2.803, allocations: 0.5316 MB / 1.492 GB, free: 104.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/2.803, allocations: 335.3 kB / 1.493 GB, free: 104.3 MB / 0.67 GB Notification: Performance of SimCode: time 7.42e-07/2.803, allocations: 0 / 1.493 GB, free: 104.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3859/3.189, allocations: 63.56 MB / 1.555 GB, free: 266 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/16.56, allocations: 15.77 kB / 1.555 GB, free: 266 MB / 0.67 GB " [Timeout remaining time 643] (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.514073375146836] 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.673856114968657 16.688289474 16.11660839 Calling exit ...